[PATCH] Broken sockopt_set in mod_proxy (SO_RCVBUF)

2003-04-03 Thread Adam Sussman
I started seeing a lot of these in the 2.0.45 build: (22)Invalid argument: apr_socket_opt_set(SO_RCVBUF): Failed to set ProxyReceiveBufferSize, using default I dug into this and discovered to my suprise that the APR never implemented SO_RCVBUF for the unix platform. Previous versions of the

Re: Seg Fault on first SSL hit after startup

2003-02-19 Thread Adam Sussman
On Tue, Feb 18, 2003 at 04:58:27PM -0800, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: I have been having problems with shmht (haven't looked into it for ages). Do you get the same problem even with shmcb ?. shmcb seems to be fine. -adam

Seg Fault on first SSL hit after startup

2003-02-18 Thread Adam Sussman
. - Theodora Goss I'm not like that, I have a cat, I don't need you.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman Vidya Media Ventures [EMAIL PROTECTED]

[PATCH] mod_rewrite and cookie setting

2002-07-16 Thread Adam Sussman
The new cookie setting feature of mod_rewrite adds the Set-Cookie header to r-headers_out. Shouldn't this be r-err_headers_out instead? The error headers are always present whereas the the normal headers do not appear under error conditions. In applications where I have an apache module

Re: [PATCH] mod_rewrite and cookie setting

2002-07-16 Thread Adam Sussman
On Tue, Jul 16, 2002 at 10:26:49AM -0700, Ian Holsman wrote: Adam Sussman wrote: The new cookie setting feature of mod_rewrite adds the Set-Cookie header to r-headers_out. Shouldn't this be r-err_headers_out instead? The error headers are always present whereas the the normal headers

Difficulties with SSL and mod_proxy

2002-04-06 Thread Adam Sussman
I am having trouble with certain combinations of SSL and mod_proxy. If I have apache 2.0 acting as an SSL enabled server, I can get it to proxy to a remote SSL server but NOT to a remote clear text server. So, while this configuration works: ProxyPass /foo/ https://otherhost/bar

Re: [PATCH] make mod_proxy not accept HTTP/0.9

2002-04-02 Thread Adam Sussman
This looks really arcane to me though - there are very few HTTP/0.9 servers out there that I am aware of to start with, adding functionality to specifically not support them seems like software bloat to me. Is this a real problem in your installation? This is really a problem of

[PATCH] make mod_proxy not accept HTTP/0.9

2002-03-29 Thread Adam Sussman
This patch adds a configuration directive ProxyRequireValidHTTPStatus. When enabled, mod_proxy will require a valid HTTP status line from the destination server and throw a 502 Bad Gateway error if it does not get it. Basicaly, this disallows backasswards reponses. Why would one want to do

[PATCH/PROPOSAL] add server_limit and thread_limit to scoreboard

2002-02-20 Thread Adam Sussman
I know this idea isn't totaly popular, but I thought I would throw this out and see what people think. Aaron's most recent patch to the scoreboard creation logic allows you to make the apache scoreboard shared memory image accessible to external programs. This is very usefull and we have

Re: has anybody seen worker segfaults?

2002-02-19 Thread Adam Sussman
.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman Vidya Media Ventures [EMAIL PROTECTED]

Re: [PATCH] new scoreboard creation logic, remove DEFAULT_SCOREBOARD from MPMs

2002-02-15 Thread Adam Sussman
I had to modify the MPMs so they wouldn't try to set ap_scoreboard_fname any more. This #define is now fully owned by the scoreboard.c file. (Might we want to namespace-protect that #define? I don't know.) I'm posting this here for feedback because it is a big change and could use some

[PATCH] mod_ssl segfault on child init

2002-02-15 Thread Adam Sussman
If the file specified by SSLMutex cannot be created (because the directory does not exist for example), children will segfault on init without giving any reason that the user can figure out. This happens because the module init in the parent never checks to see if the mutex intialization

Re: prefork segfaults under load

2002-02-11 Thread Adam Sussman
prove to me that Harvard Law School actually exists. - Theodora Goss I'm not like that, I have a cat, I don't need you.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman Vidya Media

Re: prefork segfaults under load

2002-02-11 Thread Adam Sussman
Law School actually exists. - Theodora Goss I'm not like that, I have a cat, I don't need you.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman Vidya Media Ventures [EMAIL PROTECTED]

Re: prefork segfaults under load

2002-02-06 Thread Adam Sussman
On Tue, Feb 05, 2002 at 10:45:07PM -0500, Jeff Trawick wrote: Adam Sussman [EMAIL PROTECTED] writes: I'm seeing a lot of error messages like this in my error log under load with lots of children (1300 or so): ... #0 pthread_sighandler (signo=11, ctx= {gs = 0, __gsh = 0, fs

prefork segfaults under load

2002-02-05 Thread Adam Sussman
I'm seeing a lot of error messages like this in my error log under load with lots of children (1300 or so): [Tue Feb 05 12:52:17 2002] [notice] child pid 32299 exit signal Segmentation fault (11), possible coredump in /tmp [Tue Feb 05 12:52:17 2002] [notice] child pid 32298 exit signal

Re: 2.0.31 shutdown after heavy load + core dumps on heavy load

2002-02-04 Thread Adam Sussman
. - Theodora Goss I'm not like that, I have a cat, I don't need you.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman Vidya Media Ventures [EMAIL PROTECTED]

Re: [PATCH] mod_proxy truncates status line

2001-12-30 Thread Adam Sussman
On Sun, Dec 30, 2001 at 02:58:16PM +0200, Graham Leggett wrote: Adam Sussman wrote: Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. Are you 100% sure the buffer is big enough to do this? If the buffer

Re: [PATCH] mod_proxy infinite cpu eating loop

2001-12-29 Thread Adam Sussman
@@ Error reading from remote server); } len = strlen(buffer); - +#endif /* Is it an HTTP/1 response? * This is buggy if we ever see an HTTP/1.10 */ - Original Message - From: Adam Sussman [EMAIL PROTECTED] To: [EMAIL

[PATCH] mod_proxy segfault

2001-12-28 Thread Adam Sussman
This patch addresses a segmentation fault that occurs in mod_proxy when the proxied server returns either a bogus header line or a HTTP/0.9 response. -adam Index: modules/proxy/proxy_http.c === RCS file:

[PATCH] mod_proxy truncates status line

2001-12-28 Thread Adam Sussman
Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. -adam Index: modules/proxy/proxy_http.c === RCS file:

Stability problems in mod_proxy

2001-12-18 Thread Adam Sussman
that Harvard Law School actually exists. - Theodora Goss I'm not like that, I have a cat, I don't need you.. My cat, and about 18 lines of bourne shell code replace you in life. - anonymous Adam Sussman [EMAIL PROTECTED]