]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sws: allow HTTP requests up to 2MB in size
authorDaniel Stenberg <daniel@haxx.se>
Sat, 15 May 2021 21:59:29 +0000 (23:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 16 May 2021 10:56:34 +0000 (12:56 +0200)
To allow tests with slightly larger payloads. Like #7071 ...

Closes #7075

tests/server/sws.c

index 99efa3786de65c6075d305aa1dbaeb7067110964..b1137414dad15fe91f1123114b88ce246a0045a2 100644 (file)
@@ -81,8 +81,7 @@ static bool use_gopher = FALSE;
 static int serverlogslocked = 0;
 static bool is_proxy = FALSE;
 
-#define REQBUFSIZ 150000
-#define REQBUFSIZ_TXT "149999"
+#define REQBUFSIZ (2*1024*1024)
 
 static long prevtestno = -1;    /* previous test number we served */
 static long prevpartno = -1;    /* previous part number we served */