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
This commit is contained in:
Daniel Stenberg 2024-01-26 08:54:08 +01:00
parent a6c9a33bf8
commit a3a940702a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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