예제 #1
0
apr_status_t h2_session_read(h2_session *session, apr_read_type_e block)
{
    AP_DEBUG_ASSERT(session);
    if (block == APR_BLOCK_READ) {
        /* before we do a blocking read, make sure that all our output
         * is send out. Otherwise we might deadlock. */
        h2_session_flush(session);
    }
    return h2_conn_io_read(&session->io, block, session_receive, session);
}
예제 #2
0
apr_status_t h2_session_read(h2_session *session, apr_read_type_e block)
{
    AP_DEBUG_ASSERT(session);
    return h2_conn_io_read(&session->io, block, session_receive, session);
}
예제 #3
0
파일: h2_session.c 프로젝트: bipinu/mod_h2
apr_status_t h2_session_read(h2_session *session, apr_read_type_e block)
{
    assert(session);
    return h2_conn_io_read(&session->io, block, session_receive, session);
}