mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user