From 047dfbc4fd4631edb50c71e55f7b74671d099715 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Wed, 22 Apr 2015 13:33:55 +0000 Subject: - Update to 5.6 PR: 199602 Submitted by: maintainer --- www/mongoose/files/patch-mongoose.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'www/mongoose/files/patch-mongoose.c') diff --git a/www/mongoose/files/patch-mongoose.c b/www/mongoose/files/patch-mongoose.c index 94ec1c4595ab..a390358b1afe 100644 --- a/www/mongoose/files/patch-mongoose.c +++ b/www/mongoose/files/patch-mongoose.c @@ -1,10 +1,10 @@ --- mongoose.c +++ mongoose.c -@@ -1162,19 +1162,6 @@ typedef pid_t process_id_t; - #define MONGOOSE_IDLE_TIMEOUT_SECONDS 30 +@@ -1162,20 +1162,6 @@ typedef pid_t process_id_t; + #define MONGOOSE_IDLE_TIMEOUT_SECONDS 300 #endif --#ifdef MONGOOSE_NO_SOCKETPAIR +-#ifdef NS_DISABLE_SOCKETPAIR -#define MONGOOSE_NO_CGI -#endif - @@ -15,6 +15,7 @@ -#define MONGOOSE_NO_DIRECTORY_LISTING -#define MONGOOSE_NO_LOGGING -#define MONGOOSE_NO_SSI +-#define MONGOOSE_NO_DL -#endif - struct vec { @@ -22,11 +23,11 @@ int len; --- mongoose.h +++ mongoose.h -@@ -22,6 +22,40 @@ +@@ -22,6 +22,43 @@ - #define MONGOOSE_VERSION "5.4" + #define MONGOOSE_VERSION "5.6" -+#ifdef MONGOOSE_NO_SOCKETPAIR ++#ifdef NS_DISABLE_SOCKETPAIR +#ifndef MONGOOSE_NO_CGI +#define MONGOOSE_NO_CGI +#endif @@ -51,6 +52,9 @@ +#ifndef MONGOOSE_NO_SSI +#define MONGOOSE_NO_SSI +#endif ++#ifndef MONGOOSE_NO_DL ++#define MONGOOSE_NO_DL ++#endif +#endif + +// DAV requires MONGOOSE_NO_DIRECTORY_LISTING -- cgit v1.2.3