Commit aefb4253 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make Expect 100-continue test case-insensitive

Candidate for merging into 2.1 branch



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5048 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8f081f46
......@@ -1149,7 +1149,7 @@ cnt_start(struct sess *sp)
* Handle Expect headers
*/
if (http_GetHdr(sp->http, H_Expect, &p)) {
if (strcmp(p, "100-continue")) {
if (strcasecmp(p, "100-continue")) {
sp->err_code = 417;
sp->step = STP_ERROR;
return (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment