about summary refs log tree commit homepage
path: root/httpd.h
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-01-09 05:34:40 +0000
committerEric Wong <mwrap-perl@80x24.org>2023-01-09 07:20:14 +0000
commit72a3769760252f4f2cddf1d63e939e4c9b505cdd (patch)
tree90317f544d506f6ca699c3db46a78b473c403822 /httpd.h
parente8a14610119b86133863182033c4b3e4df3f4257 (diff)
downloadmwrap-72a3769760252f4f2cddf1d63e939e4c9b505cdd.tar.gz
This is more consistent with the `MWRAP=bt:' use, since adding
`-Depth' seems unnecessary and makes curl commands too long.
Diffstat (limited to 'httpd.h')
-rw-r--r--httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.h b/httpd.h
index 36e487d..89e366e 100644
--- a/httpd.h
+++ b/httpd.h
@@ -892,7 +892,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))