diff options
author | Daniel Stenberg <daniel@haxx.se> | 2024-01-26 08:54:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2024-01-26 16:40:03 +0100 |
commit | a3a940702a7fca4719ec33730314c7dda0208486 (patch) | |
tree | 356f3419f867fdacb3377b57adef04389682f593 | |
parent | a6c9a33bf80fd639af6c092ab9a17c1ff1981495 (diff) | |
download | curl-a3a940702a7fca4719ec33730314c7dda0208486.tar.gz |
socks: reduce the buffer size to 600 (from 8K)
This is malloc'ed memory and it does not more. Test 742 helps us verify
this.
Closes #12789
-rw-r--r-- | lib/socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks.c b/lib/socks.c index e9270735b..ecd2f7eab 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -71,7 +71,7 @@ enum connect_t { CONNECT_DONE /* 17 connected fine to the remote or the SOCKS proxy */ }; -#define CURL_SOCKS_BUF_SIZE (8*1024) +#define CURL_SOCKS_BUF_SIZE 600 /* make sure we configure it not too low */ #if CURL_SOCKS_BUF_SIZE < 600 |