replacing it with the newly added apr_socket_wait().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@933341
13f79535-47bb-0310-9956-
ffa450edef68
#include "util_filter.h"
#define APR_WANT_STRFUNC
#include "apr_strings.h"
-#include "apr_support.h"
module AP_MODULE_DECLARE_DATA reqtimeout_module;
}
/* ... and wait for more */
- rv = apr_wait_for_io_or_timeout(NULL, ccfg->socket, 1);
+ rv = apr_socket_wait(ccfg->socket, APR_WAIT_READ);
if (rv != APR_SUCCESS)
break;
#error This module only works on unix platforms with the correct OS support
#endif
-/* for apr_wait_for_io_or_timeout */
-#include "apr_support.h"
-
#include "mod_proxy_fdpass.h"
module AP_MODULE_DECLARE_DATA proxy_fdpass_module;
if ((rv == -1) && (errno == EINPROGRESS || errno == EALREADY)
&& (t > 0)) {
- rv = apr_wait_for_io_or_timeout(NULL, sock, 0);
+ rv = apr_socket_wait(sock, APR_WAIT_WRITE);
if (rv != APR_SUCCESS) {
return rv;
}