about summary refs log tree commit homepage
path: root/ext/mwrap/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mwrap/httpd.h')
-rw-r--r--ext/mwrap/httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mwrap/httpd.h b/ext/mwrap/httpd.h
index cea79f7..5c3b83f 100644
--- a/ext/mwrap/httpd.h
+++ b/ext/mwrap/httpd.h
@@ -899,7 +899,7 @@ static enum mw_qev h1_parse_harder(struct mw_h1 *h1, struct mw_h1req *h1r,
                          * request bodies, so let pico handle parameters in
                          * HTTP request headers, instead.
                          */
-                        if (NAME_EQ(hdr, "X-Mwrap-BT-Depth")) {
+                        if (NAME_EQ(hdr, "X-Mwrap-BT")) {
                                 errno = 0;
                                 depth = strtol(hdr->value, &end, 10);
                                 if (errno || !valid_end(end))