diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-22 08:48:47 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-22 08:48:47 +0000 |
commit | 2a8dfa840b046bc1aa6723a4fe4ee0a4551c8713 (patch) | |
tree | b99dc719852e763b588b00bd1111378647606fc8 /src/tipideed | |
parent | 8d7cba497938020ee5e8f408e6a52cd37274722b (diff) | |
download | tipidee-2a8dfa840b046bc1aa6723a4fe4ee0a4551c8713.tar.xz |
Don't accept HTTP/1.2
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed')
-rw-r--r-- | src/tipideed/tipideed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c index c41553e..46ff50a 100644 --- a/src/tipideed/tipideed.c +++ b/src/tipideed/tipideed.c @@ -424,7 +424,7 @@ int main (int argc, char const *const *argv, char const *const *envp) default : strerr_dief2x(101, "can't happen: ", "unknown tipidee_rql_read return code") ; } if (rql.http_major != 1) log_and_exit(1) ; - if (rql.http_minor > 2) exit_400(&rql, "Bad HTTP version") ; + if (rql.http_minor > 1) exit_400(&rql, "Bad HTTP version") ; content_length = 0 ; tipidee_headers_init(&hdr, hdrbuf, HDR_BUFSIZE) ; |