Lines 1-10
Link Here
|
1 |
--- mongoose.c |
1 |
--- mongoose.c |
2 |
+++ mongoose.c |
2 |
+++ mongoose.c |
3 |
@@ -1162,19 +1162,6 @@ typedef pid_t process_id_t; |
3 |
@@ -1162,20 +1162,6 @@ typedef pid_t process_id_t; |
4 |
#define MONGOOSE_IDLE_TIMEOUT_SECONDS 30 |
4 |
#define MONGOOSE_IDLE_TIMEOUT_SECONDS 300 |
5 |
#endif |
5 |
#endif |
6 |
|
6 |
|
7 |
-#ifdef MONGOOSE_NO_SOCKETPAIR |
7 |
-#ifdef NS_DISABLE_SOCKETPAIR |
8 |
-#define MONGOOSE_NO_CGI |
8 |
-#define MONGOOSE_NO_CGI |
9 |
-#endif |
9 |
-#endif |
10 |
- |
10 |
- |
Lines 15-20
Link Here
|
15 |
-#define MONGOOSE_NO_DIRECTORY_LISTING |
15 |
-#define MONGOOSE_NO_DIRECTORY_LISTING |
16 |
-#define MONGOOSE_NO_LOGGING |
16 |
-#define MONGOOSE_NO_LOGGING |
17 |
-#define MONGOOSE_NO_SSI |
17 |
-#define MONGOOSE_NO_SSI |
|
|
18 |
-#define MONGOOSE_NO_DL |
18 |
-#endif |
19 |
-#endif |
19 |
- |
20 |
- |
20 |
struct vec { |
21 |
struct vec { |
Lines 22-32
Link Here
|
22 |
int len; |
23 |
int len; |
23 |
--- mongoose.h |
24 |
--- mongoose.h |
24 |
+++ mongoose.h |
25 |
+++ mongoose.h |
25 |
@@ -22,6 +22,40 @@ |
26 |
@@ -22,6 +22,43 @@ |
26 |
|
27 |
|
27 |
#define MONGOOSE_VERSION "5.4" |
28 |
#define MONGOOSE_VERSION "5.6" |
28 |
|
29 |
|
29 |
+#ifdef MONGOOSE_NO_SOCKETPAIR |
30 |
+#ifdef NS_DISABLE_SOCKETPAIR |
30 |
+#ifndef MONGOOSE_NO_CGI |
31 |
+#ifndef MONGOOSE_NO_CGI |
31 |
+#define MONGOOSE_NO_CGI |
32 |
+#define MONGOOSE_NO_CGI |
32 |
+#endif |
33 |
+#endif |
Lines 51-57
Link Here
|
51 |
+#ifndef MONGOOSE_NO_SSI |
52 |
+#ifndef MONGOOSE_NO_SSI |
52 |
+#define MONGOOSE_NO_SSI |
53 |
+#define MONGOOSE_NO_SSI |
53 |
+#endif |
54 |
+#endif |
|
|
55 |
+#ifndef MONGOOSE_NO_DL |
56 |
+#define MONGOOSE_NO_DL |
54 |
+#endif |
57 |
+#endif |
|
|
58 |
+#endif |
55 |
+ |
59 |
+ |
56 |
+// DAV requires MONGOOSE_NO_DIRECTORY_LISTING |
60 |
+// DAV requires MONGOOSE_NO_DIRECTORY_LISTING |
57 |
+#ifndef MONGOOSE_NO_DAV |
61 |
+#ifndef MONGOOSE_NO_DAV |