diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-05 03:19:07 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-05 03:19:07 +0000 |
commit | f82294618678cf43876d34cb3f092ca2600fcb18 (patch) | |
tree | 4d59d1502f1642223d3d840bef71a18fcb56795f /uhttpd-utils.h | |
parent | 659b5fdc5084938793985e407178d72b9dcc23c7 (diff) | |
download | uhttpd-f82294618678cf43876d34cb3f092ca2600fcb18.tar.gz |
[package] uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@28761 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd-utils.h')
-rw-r--r-- | uhttpd-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uhttpd-utils.h b/uhttpd-utils.h index 769e5b4..a2cac35 100644 --- a/uhttpd-utils.h +++ b/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, |