diff options
author | Stefan Eissing <icing@apache.org> | 2016-11-18 16:19:00 +0100 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2016-11-18 16:19:00 +0100 |
commit | 44aec31369021f4a581ed954539711f641cc7732 (patch) | |
tree | cc3abf7fdfb760076b3423fd7ee883686244a543 /modules/http2/h2_session.c | |
parent | addendum to r1769760 to make it generate 100 status lines (diff) | |
download | apache2-44aec31369021f4a581ed954539711f641cc7732.tar.xz apache2-44aec31369021f4a581ed954539711f641cc7732.zip |
mod_http2: limiting new PUSHes to GET only, preventing 103 responses when expecting a 100
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1770395 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/http2/h2_session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/http2/h2_session.c b/modules/http2/h2_session.c index 5cb63d00b4..7225201bfc 100644 --- a/modules/http2/h2_session.c +++ b/modules/http2/h2_session.c @@ -1473,6 +1473,8 @@ static apr_status_t on_stream_headers(h2_session *session, h2_stream *stream, */ if (!stream->initiated_on && !stream->has_response + && stream->request && stream->request->method + && !strcmp("GET", stream->request->method) && (headers->status < 400) && (headers->status != 304) && h2_session_push_enabled(session)) { |