MCPcopy Create free account
hub / github.com/apache/httpd / send_loop

Function send_loop

modules/http2/h2_proxy_session.c:1546–1559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544}
1545
1546static 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
1561apr_status_t h2_proxy_session_process(h2_proxy_session *session)
1562{

Callers 1

h2_proxy_session_processFunction · 0.85

Calls 1

dispatch_eventFunction · 0.85

Tested by

no test coverage detected