| 1708 | } |
| 1709 | |
| 1710 | void h2_proxy_session_cleanup(h2_proxy_session *session, |
| 1711 | h2_proxy_request_done *done) |
| 1712 | { |
| 1713 | if (!h2_proxy_ihash_empty(session->streams)) { |
| 1714 | cleanup_iter_ctx ctx; |
| 1715 | ctx.session = session; |
| 1716 | ctx.done = done; |
| 1717 | ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c, APLOGNO(03519) |
| 1718 | "h2_proxy_session(%s): terminated, %d streams unfinished", |
| 1719 | session->id, (int)h2_proxy_ihash_count(session->streams)); |
| 1720 | h2_proxy_ihash_iter(session->streams, done_iter, &ctx); |
| 1721 | h2_proxy_ihash_clear(session->streams); |
| 1722 | } |
| 1723 | } |
| 1724 | |
| 1725 | int h2_proxy_session_is_reusable(h2_proxy_session *session) |
| 1726 | { |
no test coverage detected