[PATCH] Increase maximum length of http response buffer

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

 



It seems that Cisco CSD is getting bigger and bigger:
"Response body too large for buffer (141075 > 131072)"

Signed-off-by: Adam Pi?tyszek <ediap at users.sourceforge.net>
---
 http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/http.c b/http.c
index d653aff..7bc8a0a 100644
--- a/http.c
+++ b/http.c
@@ -40,7 +40,7 @@
 
 #include "openconnect.h"
 
-#define MAX_BUF_LEN 131072
+#define MAX_BUF_LEN 262144
 /*
  * We didn't really want to have to do this for ourselves -- one might have
  * thought that it would be available in a library somewhere. But neither
-- 
1.6.6.1




[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