diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-05 03:19:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-05 03:19:07 +0000 |
commit | 3d035a6f6ab63c2e3031678cda194435526da918 (patch) | |
tree | 4ce7c6471e317efce3baa1419d53f2b948637740 /package/uhttpd/src/uhttpd-utils.h | |
parent | 297ac9a7f1a7c01521d834e07c44a45620257069 (diff) | |
download | upstream-3d035a6f6ab63c2e3031678cda194435526da918.tar.gz upstream-3d035a6f6ab63c2e3031678cda194435526da918.tar.bz2 upstream-3d035a6f6ab63c2e3031678cda194435526da918.zip |
uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
SVN-Revision: 28761
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r-- | package/uhttpd/src/uhttpd-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h index 769e5b45d6..a2cac35ac5 100644 --- a/package/uhttpd/src/uhttpd-utils.h +++ b/package/uhttpd/src/uhttpd-utils.h @@ -67,8 +67,10 @@ char *strfind(char *haystack, int hslen, const char *needle, int ndlen); int select_intr(int n, fd_set *r, fd_set *w, fd_set *e, struct timeval *t); int uh_tcp_send(struct client *cl, const char *buf, int len); +int uh_tcp_send_lowlevel(struct client *cl, const char *buf, int len); int uh_tcp_peek(struct client *cl, char *buf, int len); int uh_tcp_recv(struct client *cl, char *buf, int len); +int uh_tcp_recv_lowlevel(struct client *cl, char *buf, int len); int uh_http_sendhf( struct client *cl, int code, const char *summary, |