[PATCH] add User-Agent to dummy connection

2005-08-08 Thread Colm MacCarthaigh
Working on mpm stuff now, everytime I start apache with worker on trunk , I get; ::1 - - [08/Aug/2005:11:56:58 +0100] GET / HTTP/1.0 200 3089 - - 1966 ::1 - - [08/Aug/2005:11:56:59 +0100] GET / HTTP/1.0 200 3089 - - 3856 ::1 - - [08/Aug/2005:11:57:00 +0100] GET / HTTP/1.0 200 3089 - - 2389 ::1 -

Re: [PATCH] add User-Agent to dummy connection

2005-08-08 Thread Colm MacCarthaigh
On Mon, Aug 08, 2005 at 03:24:44PM +0100, Colm MacCarthaigh wrote: Which is pretty confusing imo for administrators (it was for me), patch gives the dummy connections a User-Agent: header, so that the administrator can determine that they don't have some errant local process; Of course it's

Re: [PATCH] add User-Agent to dummy connection

2005-08-08 Thread Paul Querna
Colm MacCarthaigh wrote: On Mon, Aug 08, 2005 at 03:24:44PM +0100, Colm MacCarthaigh wrote: Which is pretty confusing imo for administrators (it was for me), patch gives the dummy connections a User-Agent: header, so that the administrator can determine that they don't have some errant local

Re: [PATCH] add User-Agent to dummy connection

2005-08-08 Thread Brian Akins
Colm MacCarthaigh wrote: On Mon, Aug 08, 2005 at 03:24:44PM +0100, Colm MacCarthaigh wrote: +srequest = apr_pstrcat(p, GET / HTTP/1.0\r\nUser-Agent: , + ap_get_server_version(), +(internal dummy connection)\r\n\r\n, NULL); Shouldn't

Re: [PATCH] add User-Agent to dummy connection

2005-08-08 Thread Colm MacCarthaigh
On Mon, Aug 08, 2005 at 11:29:59AM -0400, Brian Akins wrote: Colm MacCarthaigh wrote: On Mon, Aug 08, 2005 at 03:24:44PM +0100, Colm MacCarthaigh wrote: +srequest = apr_pstrcat(p, GET / HTTP/1.0\r\nUser-Agent: , + ap_get_server_version(), +

Re: [PATCH] add User-Agent to dummy connection

2005-08-08 Thread Colm MacCarthaigh
On Mon, Aug 08, 2005 at 04:42:09PM +0100, Colm MacCarthaigh wrote: On Mon, Aug 08, 2005 at 11:29:59AM -0400, Brian Akins wrote: maybe just make it static like: static char *srequest = NULL; or; const char *srequest = GET / HTTP/1.0\r\n User-Agent: