the same port. Previously, this was necessary, because the Windows MPM
was binding to the socket in both the parent and child. Today's code
passes the attached socket to the child from the parent, so we don't need
to re-attach in the child.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93248
13f79535-47bb-0310-9956-
ffa450edef68
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2002/02/05 04:38:18 $]
+Last modified at [$Date: 2002/02/05 06:16:03 $]
Release:
* anon shared memory not allocating enough
(fix is apr/shm/unix/shm.c 1.14)
- * Win32 allows multiple processes to attach to the same port. This
- means that I can open three DOS prompts, and run the same Apache
- binary with the same config file three different times, and the
- server won't complain.
-
* ap_directory_walk skips some per-dir config merge functions
if there is no "<Directory />" block in the configuration
Message-ID: <m3itbdiijq.fsf@rdu163-40-092.nc.rr.com>
int one = 1;
apr_status_t stat;
- stat = apr_setsocketopt(s, APR_SO_REUSEADDR, one);
- if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
- ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p,
- "make_sock: for address %pI, setsockopt: (SO_REUSEADDR)",
- server->bind_addr);
- apr_socket_close(s);
- return stat;
- }
-
stat = apr_setsocketopt(s, APR_SO_KEEPALIVE, one);
if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p,