[PATCH 1/4] http: increase MAX_BUF_LEN to 256k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Need to handle new CSD trojan having size ~200k.

Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com>
---
 http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/http.c b/http.c
index 5e3bcf5..a25ca34 100644
--- a/http.c
+++ b/http.c
@@ -33,7 +33,7 @@
 static int proxy_write(struct openconnect_info *vpninfo, char *buf, size_t len);
 static int proxy_read(struct openconnect_info *vpninfo, char *buf, size_t len);
 
-#define MAX_BUF_LEN 131072
+#define MAX_BUF_LEN 262144
 #define BUF_CHUNK_SIZE 4096
 
 struct oc_text_buf *buf_alloc(void)
-- 
2.6.2




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux