Also note that the mod_jk code works just fine here, i.e. its socket
connection timeouts are obeyed without further hackery.
This is via jk_connect.c's nb_connect(), not APR, though -- so chalk one
up for by-passing APR?
--
Jess Holle
Jess Holle wrote:
Ruediger Pluem wrote:
I guess you
Ruediger Pluem wrote:
I guess you should move this over to d...@apr as this is likely a problem
with the windows specific connect call not returning immediately.
I moved this over to d...@apr as suggested, but have not received any
responses there.
Note that I applied Matt Stevenson's
On 12/17/2008 12:38 AM, Jess Holle wrote:
The errno assignments you added did the trick.
Unfortunately, I'm still missing the overall goal. I have many proxy
balance members like:
BalancerMember ajp://localhost:8010 route=tomcat1 min=16 max=80
smax=40 ttl=900 keepalive=Off
Did anyone test this on Windows?
I ask as I am trying connectiontimeout=160ms as part of my Apache 2.2.11
configuration and am getting a configuration error. I get the same
error with ping and other parameters which now use
ap_timeout_parameter_parse().
My BalanceMember looks something
On 12/16/2008 11:17 PM, Jess Holle wrote:
Did anyone test this on Windows?
I stumbled across the same issue on Red Hat AS 5 today.
Try to patch your APR with
http://svn.apache.org/viewvc?rev=727052view=rev
from APR trunk. This should fix this.
I ask as I am trying connectiontimeout=160ms
Thanks!
Ruediger Pluem wrote:
On 12/16/2008 11:17 PM, Jess Holle wrote:
Did anyone test this on Windows?
I stumbled across the same issue on Red Hat AS 5 today.
Try to patch your APR with
http://svn.apache.org/viewvc?rev=727052view=rev
from APR trunk. This should fix this.
I
The errno assignments you added did the trick.
Unfortunately, I'm still missing the overall goal. I have many proxy
balance members like:
BalancerMember ajp://localhost:8010 route=tomcat1 min=16 max=80
smax=40 ttl=900 keepalive=Off timeout=9 retry=30
connectiontimeout=160ms
On 10/15/2008 07:39 AM, Mladen Turk wrote:
Ruediger Pluem wrote:
I guess this leaves us to the question whether we need to be able to set
connectiontimeouts below one second.
Right now we are using a simple atoi for parsing those
config values. Some more advanced function for parsing the
Ruediger Pluem wrote:
This would be similar what we have for parsing some
file sizes across the conf (1024, 1K, 1M, ...)
I'm not aware of any standard defining that, but
since we underneath use apr_time anything
from 1us should be valid time (weather it makes
sense is a different story).
Mladen Turk wrote:
Ruediger Pluem wrote:
This would be similar what we have for parsing some
file sizes across the conf (1024, 1K, 1M, ...)
I'm not aware of any standard defining that, but
since we underneath use apr_time anything
from 1us should be valid time (weather it makes
sense is a
On 10/09/2008 10:11 PM, Matt Stevenson wrote:
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so that's
the reason for the ifdef.
ProxyPass / balance://hotcluster/
Proxy balance://hotcluster
#
On 10/15/2008 02:28 AM, Ruediger Pluem wrote:
On 10/09/2008 10:11 PM, Matt Stevenson wrote:
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so
that's the reason for the ifdef.
ProxyPass /
Ruediger Pluem wrote:
I checked 2.2.x and trunk in the meantime and they behaves as they should
*without* the patch.
If I try to connect to a non existing host the apr_socket_connect call returns
after the timeout set via connectiontimeout.
I guess this leaves us to the question whether we need
Ruediger Pluem wrote:
I guess this leaves us to the question whether we need to be able to set
connectiontimeouts below one second.
Right now we are using a simple atoi for parsing those
config values. Some more advanced function for parsing the
time should be added thought.
Eg.
timeout=30
On 10/09/2008 10:11 PM, Matt Stevenson wrote:
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so that's
the reason for the ifdef.
ProxyPass / balance://hotcluster/
Proxy balance://hotcluster
#
On 10/08/2008 10:55 PM, Matt Stevenson wrote:
Hi,
I've used mod_jk (1/2) for years. I've always had an issue when a backend
server goes down, not tomcat/jboss stopped
but dead. Recently some people I work with have been using mod_proxy and
mod_proxy_ajp. This seems to have the same
- Original Message
From: Matt Stevenson [EMAIL PROTECTED]
To: dev@httpd.apache.org
Sent: Wednesday, October 8, 2008 9:55:43 PM
Subject: proxy_ajp connect timeout fix.
Hi,
I've used mod_jk (1/2) for years. I've always had an issue when a backend
server goes down, not tomcat/jboss
On 10/09/2008 10:11 PM, Matt Stevenson wrote:
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so that's
the reason for the ifdef.
ProxyPass / balance://hotcluster/
Proxy balance://hotcluster
#
Hi,
I've used mod_jk (1/2) for years. I've always had an issue when a backend
server goes down, not tomcat/jboss stopped but dead. Recently some people I
work with have been using mod_proxy and mod_proxy_ajp. This seems to have the
same issue.
The code (proxy_util.c) assumes that
19 matches
Mail list logo