RE: Global variables in self-written Module for Apache 2

2004-04-01 Thread Tikka, Sami
-Original Message- From: Werner Schalk [mailto:[EMAIL PROTECTED] or do I have to use something like shared memory? Yes. On apache running on unix there is a very good chance you are actually running multiple *processes* and as we remember from university operating system courses,

RE: Win32DisableAcceptex

2004-03-29 Thread Tikka, Sami
-Original Message- From: Bill Stoddard [mailto:[EMAIL PROTECTED] Please double check then check again. This sounds a lot like a dynamic ip address issue. The machine is using static IP address but the DHCP service was also running. I disabled it but the hang with WSAEHOSTDOWN error

RE: Win32DisableAcceptex

2004-03-24 Thread Tikka, Sami
Rather than talk about what the name of the directive is, I'd like to raise the issue does workaround involved really work or not. I have a customer who runs a lightly loaded W2K server with Apache 2.0.45 + selected patches and every couple of hours it hangs for 10-15 minutes and then magically

RE: Proxy hiccups with WSAEADDRINUSE

2004-01-30 Thread Tikka, Sami
-Original Message- From: Jeff Trawick [mailto:[EMAIL PROTECTED] see http://www.ncftpd.com/ncftpd/doc/misc/ephemeral_ports.html#Windows Thanks! That helped fix the problem.

Proxy hiccups with WSAEADDRINUSE

2004-01-27 Thread Tikka, Sami
We are using httpd 2.0.48 as a forward proxy. We run on Windows 2000 and 2003 servers and have seen weird errors when the load is high. Proxy vomits in the error log: [error] (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : proxy: HTTP:

RE: [PATCH] Apache as a transparent proxy

2003-11-03 Thread Tikka, Sami
-Original Message- From: Graham Leggett [mailto:[EMAIL PROTECTED] The main config should have a ServerName directive though, so can the patch not detect for both virtualhost directives and the servername directive? Hey, great idea! (Even though the ServerName is optional, AFAIK.)

RE: ap_invoke_handler

2003-10-21 Thread Tikka, Sami
-Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] [...] Do not attempt to remove a filter once it's inserted, simple force it to be inert. Serveral Apache filters already do this, although I can't name one offhand (SSL might be, I think.) Perhaps I am just

[PATCH] Apache 2.0 Proxy Windows Update

2003-03-24 Thread Tikka, Sami
Apache2 proxy seems to drop Content-Length header from replies to HEAD requests. This is very bad for Microsoft's Windows Update system (and against HTTP spec). The problem is caused by CONTENT_LENGTH output filter setting Content-Length header to zero because there is no body data. Later on

Should mod_proxy abort when browser aborts?

2002-12-05 Thread Tikka, Sami
Another thing I have been oogling is proxy_http.c line 946 where the HTTP response is passed to proxy output filters: if (ap_pass_brigade(r-output_filters, bb) != APR_SUCCESS) { /* Ack! Phbtt! Die! User aborted! */ p_conn-close = 1; /* this causes socket close below */ finish