Re: svn commit: r1924145 - in /httpd/httpd/trunk: changes-entries/h2_v2.0.30.txt docs/manual/mod/mod_http2.xml modules/http2/h2_config.c modules/http2/h2_config.h modules/http2/h2_session.c modules/http2/h2_stream.c modules/http2/h2_version.h
Ruediger Pluem <[email protected]>
| Newsgroups | gmane.comp.apache.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/3/25 1:32 PM, [email protected] wrote: > Author: icing > Date: Mon Mar 3 12:32:31 2025 > New Revision: 1924145 > > URL: http://svn.apache.org/viewvc?rev=1924145&view=rev > Log: > *) mod_md: update to version 2.0.30 > - Fixed bug in handling over long response headers. When the 64 KB limit > of nghttp2 was exceeded, the request was not reset and the client was > left hanging, waiting for it. Now the stream is reset. > - Added new directive `H2MaxHeaderBlockLen` to set the limit on response > header sizes. > - Fixed handling of Timeout vs. KeepAliveTimeout when first request on a > connection was reset. > > > Added: > httpd/httpd/trunk/changes-entries/h2_v2.0.30.txt > Modified: > httpd/httpd/trunk/docs/manual/mod/mod_http2.xml > httpd/httpd/trunk/modules/http2/h2_config.c > httpd/httpd/trunk/modules/http2/h2_config.h > httpd/httpd/trunk/modules/http2/h2_session.c > httpd/httpd/trunk/modules/http2/h2_stream.c > httpd/httpd/trunk/modules/http2/h2_version.h > > Modified: httpd/httpd/trunk/modules/http2/h2_session.c > URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_session.c?rev=1924145&r1=1924144&r2=1924145&view=diff > ============================================================================== > --- httpd/httpd/trunk/modules/http2/h2_session.c (original) > +++ httpd/httpd/trunk/modules/http2/h2_session.c Mon Mar 3 12:32:31 2025 > @@ -624,6 +624,29 @@ static int on_frame_send_cb(nghttp2_sess > return 0; > } > > +static int on_frame_not_send_cb(nghttp2_session *ngh2, > + const nghttp2_frame *frame, > + int ngh2_err, > + void *user_data) > +{ > + h2_session *session = user_data; > + int stream_id = frame->hd.stream_id; > + h2_stream *stream; > + char buffer[256]; > + > + stream = get_stream(session, stream_id); > + h2_util_frame_print(frame, buffer, sizeof(buffer)/sizeof(buffer[0])); > + ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, session->c1, > + H2_SSSN_LOG(APLOGNO(), session, We have a missing log number above. Regards Rüdiger