httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: (patch included) 1.1b2 keepalive does not default on for virtual hosts.
Date Sat, 27 Apr 1996 18:47:38 GMT

thanks, I guess we missed that.

regards,
rob

>(patch included)
>
>HTTP keepalive does not default on (like I would imagine it should) for
>virtual hosts.  Here's a patch it you want.
>
diff -r -u apache_1.1b2/src/http_config.c apache_1.1b2.orig/src/http_config.c
--- apache_1.1b2/src/http_config.c	Sat Mar 30 03:00:20 1996
+++ apache_1.1b2.orig/src/http_config.c	Fri Apr 26 12:16:12 1996
@@ -652,6 +652,8 @@
     s->srm_confname = NULL;
     s->access_confname = NULL;
     s->timeout = 0;
+    s->keep_alive_timeout = DEFAULT_KEEPALIVE_TIMEOUT;
+    s->keep_alive = DEFAULT_KEEPALIVE;
     s->host_addr.s_addr = get_virthost_addr (hostname, &s->host_port);
     s->port = s->host_port;  /* set them the same, by default */
     s->next = NULL;

George!
--
   /~~~~  gburgyan@nforce.com    PGP OK     Chaste makes waste
  / ___  __   __   __   ___  __                  Virginity can be cured!
 /    / /__) /  ) /__) / _  /__)         .---------------------------------.
/____/ (____(__/_/  \_/__/_(____ Burgyan | http://www.nforce.com/~gburgyan |
-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.

Mime
View raw message