core: avoid socket timeout settings etc. on slave connections.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1787606 13f79535-47bb-0310-9956-
ffa450edef68
static int core_pre_connection(conn_rec *c, void *csd)
{
- core_net_rec *net = apr_palloc(c->pool, sizeof(*net));
+ core_net_rec *net;
apr_status_t rv;
+ if (c->master) {
+ return DONE;
+ }
+
+ net = apr_palloc(c->pool, sizeof(*net));
/* The Nagle algorithm says that we should delay sending partial
* packets in hopes of getting more data. We don't want to do
* this; we are not telnet. There are bad interactions between