core: increase buffer size in HTTP proxy connection
In case of long address/username/password, the HTTP CONNECT message could be truncated.
This commit is contained in:
parent
194f8b5b74
commit
070eb3f7b0
@ -236,7 +236,7 @@ int
|
||||
network_pass_httpproxy (struct t_proxy *proxy, int sock, const char *address,
|
||||
int port)
|
||||
{
|
||||
char buffer[256], authbuf[128], authbuf_base64[512], *username, *password;
|
||||
char buffer[4096], authbuf[128], authbuf_base64[512], *username, *password;
|
||||
int length;
|
||||
|
||||
if (CONFIG_STRING(proxy->options[PROXY_OPTION_USERNAME])
|
||||
|
Loading…
x
Reference in New Issue
Block a user