| 1544 | } |
| 1545 | |
| 1546 | static int send_loop(h2_proxy_session *session) |
| 1547 | { |
| 1548 | while (nghttp2_session_want_write(session->ngh2)) { |
| 1549 | int rv = nghttp2_session_send(session->ngh2); |
| 1550 | if (rv < 0 && nghttp2_is_fatal(rv)) { |
| 1551 | ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, session->c, |
| 1552 | "h2_proxy_session(%s): write, rv=%d", session->id, rv); |
| 1553 | dispatch_event(session, H2_PROXYS_EV_CONN_ERROR, rv, NULL); |
| 1554 | break; |
| 1555 | } |
| 1556 | return 1; |
| 1557 | } |
| 1558 | return 0; |
| 1559 | } |
| 1560 | |
| 1561 | apr_status_t h2_proxy_session_process(h2_proxy_session *session) |
| 1562 | { |
no test coverage detected