BBlack has submitted this change and it was merged. Change subject: varnish (3.0.3plus~rc1-wm25) precise; urgency=low ......................................................................
varnish (3.0.3plus~rc1-wm25) precise; urgency=low * Fix HTTP/0.9 issue (return 400 on request) -- Brandon Black <[email protected]> Fri, 06 Dec 2013 15:48:19 +0000 Change-Id: Iab87679539a6391b8f0a86c329bcc9c043087af6 --- M debian/changelog A debian/patches/0025-varnishd-http09.patch M debian/patches/series 3 files changed, 20 insertions(+), 0 deletions(-) Approvals: BBlack: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/debian/changelog b/debian/changelog index 51c4ff7..9543182 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +varnish (3.0.3plus~rc1-wm25) precise; urgency=low + + * Fix HTTP/0.9 issue (return 400 on request) + + -- Brandon Black <[email protected]> Fri, 06 Dec 2013 15:48:19 +0000 + varnish (3.0.3plus~rc1-wm24) precise; urgency=low * update netmapper to 418eb681 diff --git a/debian/patches/0025-varnishd-http09.patch b/debian/patches/0025-varnishd-http09.patch new file mode 100644 index 0000000..254c4a6 --- /dev/null +++ b/debian/patches/0025-varnishd-http09.patch @@ -0,0 +1,13 @@ +diff --git a/bin/varnishd/cache_http.c b/bin/varnishd/cache_http.c +index 76b3f86..c96d29b 100644 +--- a/bin/varnishd/cache_http.c ++++ b/bin/varnishd/cache_http.c +@@ -675,6 +675,8 @@ http_DissectRequest(struct sess *sp) + return (retval); + } + http_ProtoVer(hp); ++ if(hp->protover < 10) ++ retval = 400; + return (retval); + } + diff --git a/debian/patches/series b/debian/patches/series index aeb6a37..218ea08 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,5 +12,6 @@ 0010-varnishtest-rxbytes.patch 0020-filter-headers.patch 0020-varnishd-esi-gzip-fix.patch +0025-varnishd-http09.patch 0098-libvmod-netmapper-src.patch 0099-libvmod-netmapper-ac.patch -- To view, visit https://gerrit.wikimedia.org/r/99670 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iab87679539a6391b8f0a86c329bcc9c043087af6 Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/varnish Gerrit-Branch: testing/3.0.3plus-rc1 Gerrit-Owner: BBlack <[email protected]> Gerrit-Reviewer: BBlack <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
