summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-18 00:04:52 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-18 00:04:52 +0000
commita393073c9c8a8ad765a3d4ae4483677792152d3a (patch)
tree8a3f0e06d17073f400da47c8955a979558454edd /uhttpd.h
parent0bf05c0c6b9df2c91bdd6e51780e564568a5a282 (diff)
downloaduhttpd-a393073c9c8a8ad765a3d4ae4483677792152d3a.tar.gz
[package] uhttpd:
- fix parsing of interpreter entries in the config file, fixes serving of static files as .cgi with X-Wrt - better cope with connection aborts, especially during header transfer - fix return value checking of TLS reads and writes, solves some blocking issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@22692 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 78cca7b..6747b90 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -28,6 +28,7 @@
#include <sys/select.h>
#include <sys/wait.h>
#include <netinet/in.h>
+#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <linux/limits.h>
#include <netdb.h>
@@ -44,6 +45,11 @@
#include <openssl/ssl.h>
#endif
+/* uClibc... */
+#ifndef SOL_TCP
+#define SOL_TCP 6
+#endif
+
#define UH_LIMIT_MSGHEAD 4096
#define UH_LIMIT_HEADERS 64