{
h2_ctx *ctx = h2_ctx_get(c);
- if (h2_ctx_is_task(ctx)) {
- /* cleanup on task connections */
- /* we once removed the reqtimeout filter on task connections,
- * but timeouts here might have been a side effect of other things.
- * Ideally mod_reqtimeout would do its work on task connections
- * as it basically is a HTTP/1.1 request/response and it's made
- * for that.
- * So, let the filter stay for now and see if we ever encounter
- * unexpected timeouts on tasks again.
- */
- //ap_remove_input_filter_byhandle(c->input_filters, "reqtimeout");
- }
- else if (h2_ctx_is_active(ctx)) {
+ if (h2_ctx_is_active(ctx) && !h2_ctx_is_task(ctx)) {
/* cleanup on master h2 connections */
ap_remove_input_filter_byhandle(c->input_filters, "reqtimeout");
}
|| H2_HD_MATCH_LIT("proxy-connection", name, nlen)
|| H2_HD_MATCH_LIT("keep-alive", name, nlen)
|| H2_HD_MATCH_LIT("http2-settings", name, nlen)) {
- // ignore these.
+ /* ignore these. */
return APR_SUCCESS;
}
else if (H2_HD_MATCH_LIT("cookie", name, nlen)) {
* @macro
* Version number of the h2 module as c string
*/
-#define MOD_H2_VERSION "0.9.6"
+#define MOD_H2_VERSION "0.9.7"
/**
* @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_H2_VERSION_NUM 0x000906
+#define MOD_H2_VERSION_NUM 0x000907
#endif /* mod_h2_h2_version_h */