From 2a8dfa840b046bc1aa6723a4fe4ee0a4551c8713 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 22 Sep 2023 08:48:47 +0000 Subject: Don't accept HTTP/1.2 Signed-off-by: Laurent Bercot --- src/tipideed/tipideed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ; -- cgit v1.2.3