[PATCH] Increase maximum length of http response buffer

Adam Piątyszek ediap at users.sourceforge.net
Wed Feb 10 17:02:48 EST 2010


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




More information about the openconnect-devel mailing list