1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

http occurances to update for apr_socket_opt_get/set

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2002-07-15 08:05:11 +00:00
parent 7207c17ad2
commit ed8fc9abae
10 changed files with 39 additions and 34 deletions

View File

@@ -1148,10 +1148,10 @@ PROXY_DECLARE(int) ap_proxy_connect_to_backend(apr_socket_t **newsock,
#if !defined(TPF) && !defined(BEOS)
if (conf->recv_buffer_size > 0 &&
(rv = apr_setsocketopt(*newsock, APR_SO_RCVBUF,
conf->recv_buffer_size))) {
(rv = apr_socket_opt_set(*newsock, APR_SO_RCVBUF,
conf->recv_buffer_size))) {
ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
"setsockopt(SO_RCVBUF): Failed to set "
"apr_socket_opt_set(SO_RCVBUF): Failed to set "
"ProxyReceiveBufferSize, using default");
}
#endif