diff options
| author | 2002-02-28 21:22:42 +0000 | |
|---|---|---|
| committer | 2002-02-28 21:22:42 +0000 | |
| commit | af58514324bd13b143942806cd22b6be1550167c (patch) | |
| tree | c4f4a96d38ea6ba7762c9dba7fea8d5f09a8544b /usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c | |
| parent | log user not allowed details, from dwd@bell-labs.com; ok markus@ (diff) | |
| download | wireguard-openbsd-af58514324bd13b143942806cd22b6be1550167c.tar.xz wireguard-openbsd-af58514324bd13b143942806cd22b6be1550167c.zip | |
merge mod_ssl 2.8.7
--
Ok'd by: beck@
Diffstat (limited to 'usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c')
| -rw-r--r-- | usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c index a313eb4d5a1..5974bc51bf4 100644 --- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c +++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_io.c @@ -443,10 +443,6 @@ static int ssl_io_hook_writev(BUFF *fb, const struct iovec *iov, int iovcnt) #ifdef WIN32 -/* these two functions are exported from buff.c under WIN32 */ -API_EXPORT(int) sendwithtimeout(int sock, const char *buf, int len, int flags); -API_EXPORT(int) recvwithtimeout(int sock, char *buf, int len, int flags); - /* and the prototypes for our SSL_xxx variants */ static int SSL_sendwithtimeout(BUFF *fb, const char *buf, int len); static int SSL_recvwithtimeout(BUFF *fb, char *buf, int len); @@ -459,7 +455,7 @@ static int ssl_io_hook_recvwithtimeout(BUFF *fb, char *buf, int len) if ((ssl = ap_ctx_get(fb->ctx, "ssl")) != NULL) rc = SSL_recvwithtimeout(fb, buf, len); else - rc = recvwithtimeout(fb->fd, buf, len, 0); + rc = ap_recvwithtimeout(fb->fd, buf, len, 0); return rc; } @@ -471,7 +467,7 @@ static int ssl_io_hook_sendwithtimeout(BUFF *fb, const char *buf, int len) if ((ssl = ap_ctx_get(fb->ctx, "ssl")) != NULL) rc = SSL_sendwithtimeout(fb, buf, len); else - rc = sendwithtimeout(fb->fd, buf, len, 0); + rc = ap_sendwithtimeout(fb->fd, buf, len, 0); return rc; } |
