summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-15 23:59:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-16 12:56:34 +0200
commit030d53916499290d3d0a4619a006f0e33e3bca64 (patch)
treef428736760834d06d734b4a785a467d93c215004
parent8d13ab4c61e76f79ca9418f5cdd459eb0c111a76 (diff)
downloadcurl-030d53916499290d3d0a4619a006f0e33e3bca64.tar.gz
sws: allow HTTP requests up to 2MB in size
To allow tests with slightly larger payloads. Like #7071 ... Closes #7075
-rw-r--r--tests/server/sws.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 99efa3786..b1137414d 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -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 */