diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2015-04-22 13:33:55 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2015-04-22 13:33:55 +0000 |
commit | 047dfbc4fd4631edb50c71e55f7b74671d099715 (patch) | |
tree | aae178c10cf51d0b5be1e3e06539f0a9019d0fa4 /www/mongoose/files/patch-mongoose.c | |
parent | Update to 1.38 (diff) |
- Update to 5.6
PR: 199602
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=384492
Diffstat (limited to 'www/mongoose/files/patch-mongoose.c')
-rw-r--r-- | www/mongoose/files/patch-mongoose.c | 16 |
1 files changed, 10 insertions, 6 deletions
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 |