gopherproxy-c

Gopher HTTP proxy in C (CGI)
git clone git://shroom.party/gopherproxy-c.git
Log | Files | Refs | README | LICENSE

commit 9260cf77d7647b1471739fcf8bafbaa4e4d03838
parent 2922b5f38556aacf5dd1c6928b34be60a07cec7b
Author: tx <trqx@goat.si>
Date:   Mon, 13 Aug 2018 12:44:48 +0200

define MAX_RESPONSESIZ

Diffstat:
gopherproxy.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gopherproxy.c b/gopherproxy.c @@ -11,8 +11,8 @@ #include <string.h> #include <unistd.h> -#define MAX_RESPONSETIMEOUT 10 /* timeout in seconds */ -#define MAX_RESPONSESIZ 4000000 /* max download size in bytes */ +#define MAX_RESPONSETIMEOUT 30 /* timeout in seconds */ +#define MAX_RESPONSESIZ 400000000 /* max download size in bytes */ #ifndef USE_PLEDGE #define pledge(a,b) 0