Re: Puzzled about persistent connection reuse

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 30 Jul 2003 21:54:36 +0200

On Wednesday 30 July 2003 18.18, Duane Wessels wrote:

> comm_remove_close_handler(fd, httpStateFree,
> httpState); fwdUnregister(fd, httpState->fwd);
> - pconnPush(fd, request->host, request->port);
> + if (request->flags.accelerated &&
> + Config.Accel.single_host && Config.Accel.host)
> + pconnPush(fd, Config.Accel.host,
> Config.Accel.port); + else
> + pconnPush(fd, request->host, request->port);
> fwdComplete(httpState->fwd);

Except that this will fail on certain servers when used in combination
with httpd_accel_uses_host_header... not all servers can accept
persistent connections across different virtual domains. (why should
a server accept such a thing... persistent connections are to be
managed on the domain name, not IP address)

Regards
Henrik
Received on Wed Jul 30 2003 - 13:54:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:18 MST