]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-client-errors - Correct response payload length in "retry payload...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 5 May 2020 23:53:39 +0000 (01:53 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 6 May 2020 10:56:50 +0000 (12:56 +0200)
src/lib-http/test-http-client-errors.c

index 785c1ba63f93dfb408b7ba43fdb4c8e6040b201d..dba81dc37886252aedfa0464b9ed6bbc72f4b619 100644 (file)
@@ -1038,7 +1038,7 @@ static void test_retry_payload_input(struct server_connection *conn)
                        i_debug("Unexpected payload received");
                o_stream_nsend_str(conn->conn.output,
                                   "HTTP/1.1 501 Oh no!\r\n"
-                                  "Content-Length: 17\r\n"
+                                  "Content-Length: 19\r\n"
                                   "\r\n"
                                   "Unexpected result\r\n");
        }