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
*) core: Do not read .htaccess if AllowOverride and AllowOverrideList
}
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",
/* 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");
}
}
}
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);
return status;
}
}
- apr_brigade_insert_file(to, fd, b->start, b->length,
- to->p);
+ 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 {
* @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
* 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 */