Loading CHANGES +7 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,12 @@ Changes with Apache 2.4.21 *) mod_http2: r->protocol changed to "HTTP/2.0" (was "HTTP/2") as this will give expected syntax in CGI's SERVER_PROTOCOL is more compatible with existing major/minor handling. Fixes PR 59313. *) mod_http2: disabling mmap for file buckets transport due to segmenation faults when files change on the fly. Changes with Apache 2.4.20 Loading modules/http2/h2_request.c +1 −1 Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ request_rec *h2_request_create_rec(const h2_request *req, conn_rec *conn) } ap_parse_uri(r, req->path); r->protocol = "HTTP/2"; r->protocol = "HTTP/2.0"; r->proto_num = HTTP_VERSION(2, 0); r->the_request = apr_psprintf(r->pool, "%s %s %s", Loading modules/http2/h2_session.c +3 −0 Original line number Diff line number Diff line Loading @@ -2172,6 +2172,9 @@ apr_status_t h2_session_process(h2_session *session, int async) /* continue reading handling */ } else { ap_log_cerror( APLOG_MARK, APLOG_TRACE1, status, c, "h2_session(%ld): idle(1 sec timeout) " "read failed", session->id); dispatch_event(session, H2_SESSION_EV_CONN_ERROR, 0, "error"); } } Loading modules/http2/h2_util.c +6 −3 Original line number Diff line number Diff line Loading @@ -454,7 +454,7 @@ apr_status_t h2_util_move(apr_bucket_brigade *to, apr_bucket_brigade *from, } if (!APR_BRIGADE_EMPTY(from)) { apr_bucket *b, *end; apr_bucket *b, *nb, *end; status = last_not_included(from, maxlen, same_alloc, pfile_buckets_allowed, &end); Loading Loading @@ -526,8 +526,11 @@ apr_status_t h2_util_move(apr_bucket_brigade *to, apr_bucket_brigade *from, return status; } } apr_brigade_insert_file(to, fd, b->start, b->length, nb = apr_brigade_insert_file(to, fd, b->start, b->length, to->p); #if APR_HAS_MMAP apr_bucket_file_enable_mmap(nb, 0); #endif --(*pfile_buckets_allowed); } else { Loading modules/http2/h2_version.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ * @macro * Version number of the http2 module as c string */ #define MOD_HTTP2_VERSION "1.4.6" #define MOD_HTTP2_VERSION "1.4.8-DEV" /** * @macro Loading @@ -34,7 +34,7 @@ * release. This is a 24 bit number with 8 bits for major number, 8 bits * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203. */ #define MOD_HTTP2_VERSION_NUM 0x010406 #define MOD_HTTP2_VERSION_NUM 0x010408 #endif /* mod_h2_h2_version_h */ Loading
CHANGES +7 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,12 @@ Changes with Apache 2.4.21 *) mod_http2: r->protocol changed to "HTTP/2.0" (was "HTTP/2") as this will give expected syntax in CGI's SERVER_PROTOCOL is more compatible with existing major/minor handling. Fixes PR 59313. *) mod_http2: disabling mmap for file buckets transport due to segmenation faults when files change on the fly. Changes with Apache 2.4.20 Loading
modules/http2/h2_request.c +1 −1 Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ request_rec *h2_request_create_rec(const h2_request *req, conn_rec *conn) } ap_parse_uri(r, req->path); r->protocol = "HTTP/2"; r->protocol = "HTTP/2.0"; r->proto_num = HTTP_VERSION(2, 0); r->the_request = apr_psprintf(r->pool, "%s %s %s", Loading
modules/http2/h2_session.c +3 −0 Original line number Diff line number Diff line Loading @@ -2172,6 +2172,9 @@ apr_status_t h2_session_process(h2_session *session, int async) /* continue reading handling */ } else { ap_log_cerror( APLOG_MARK, APLOG_TRACE1, status, c, "h2_session(%ld): idle(1 sec timeout) " "read failed", session->id); dispatch_event(session, H2_SESSION_EV_CONN_ERROR, 0, "error"); } } Loading
modules/http2/h2_util.c +6 −3 Original line number Diff line number Diff line Loading @@ -454,7 +454,7 @@ apr_status_t h2_util_move(apr_bucket_brigade *to, apr_bucket_brigade *from, } if (!APR_BRIGADE_EMPTY(from)) { apr_bucket *b, *end; apr_bucket *b, *nb, *end; status = last_not_included(from, maxlen, same_alloc, pfile_buckets_allowed, &end); Loading Loading @@ -526,8 +526,11 @@ apr_status_t h2_util_move(apr_bucket_brigade *to, apr_bucket_brigade *from, return status; } } apr_brigade_insert_file(to, fd, b->start, b->length, nb = apr_brigade_insert_file(to, fd, b->start, b->length, to->p); #if APR_HAS_MMAP apr_bucket_file_enable_mmap(nb, 0); #endif --(*pfile_buckets_allowed); } else { Loading
modules/http2/h2_version.h +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ * @macro * Version number of the http2 module as c string */ #define MOD_HTTP2_VERSION "1.4.6" #define MOD_HTTP2_VERSION "1.4.8-DEV" /** * @macro Loading @@ -34,7 +34,7 @@ * release. This is a 24 bit number with 8 bits for major number, 8 bits * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203. */ #define MOD_HTTP2_VERSION_NUM 0x010406 #define MOD_HTTP2_VERSION_NUM 0x010408 #endif /* mod_h2_h2_version_h */