Beispiel #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);
}
Beispiel #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);
}
Beispiel #3
0
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);
}