1 May 2011 09:15
Bug report for Apache httpd-2 [2011/05/01]
<bugzilla <at> apache.org>
2011-05-01 07:15:06 GMT
2011-05-01 07:15:06 GMT
+---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 7483|Ass|Enh|2002-03-26|Add FileAction directive to assign a cgi interpret| | 8713|Inf|Min|2002-05-01|No Errorlog on PROPFIND/Depth:Infinity | | 9945|New|Enh|2002-06-18|[PATCH] new funtionality for apache bench | |10747|New|Maj|2002-07-12|ftp SIZE command and 'smart' ftp servers results i| |11294|New|Enh|2002-07-30|desired vhost_alias option | |11580|Opn|Enh|2002-08-09|generate Content-Location headers | |12033|Opn|Nor|2002-08-26|Graceful restart immidiately result in [warn] long| |12680|New|Enh|2002-09-16|Digest authentication with integrity protection | |13029|New|Nor|2002-09-26|Win32 mod_cgi failure with non-ASCII characters in| |13599|Inf|Nor|2002-10-14|autoindex formating broken for multibyte sequences| |13661|Ass|Enh|2002-10-15|Apache cannot not handle dynamic IP reallocation | |14104|Opn|Enh|2002-10-30|not documented: must restart server to load new CR| |14496|New|Enh|2002-11-13|Cannot upgrade any version on Windows. Must uninst| |14922|Inf|Enh|2002-11-28|<target> is currently hardcoded to 'apache2' | |15719|Inf|Nor|2002-12-30|WebDAV MOVE to destination URI which is content-ne| |16057|Ass|Maj|2003-01-14|module fails to init client_rmm and applies too ma| |16126|Opn|Nor|2003-01-15|cache mishandles If-None-Match |(Continue reading)
Unfortunately, this is exactly what won't work for me.
The point is: In our case the remote address is still valid. The "old" node is not to be shut down so the
connection to it is technically still valid. Instead, the full qualified address if looked up via the
resolver now points to a "new" node. If I'm correct, in this case there won't be any error. And if there is a
lot of traffic on the connection, there also won't be any timeout and the connection will be happy
accessing the "old" node because it simply uses the stored ip-address and doesn't see any reason to
discard it. If I set ttl to say 1 second (way too small for me in fact) and the connection is accessed every
100ms, there is no way to timeout the connection. The only solution I can think of is to force the expiry
after a set timeout.
Having said that I would like to ask some additional help with implementing such a solution.
Unfortunately, I'm pretty new to Apache and have to work it out "the hard way". So far I have worked out how to
enable the additional parameter for the mod_proxy. I have done it by adding the setting dnsto (for DNS
timeout) to the structure proxy_worker in mod_proxy.h. The question is: where can I register the timeout
to be used and how do I force the worker to re-resolve the address.
Regards
Slawo.
-----Ursprüngliche Nachricht-----
Von: Igor Galić [mailto:i.galic <at> brainsware.org]
Gesendet: Dienstag, 26. April 2011 23:45
An: dev <at> httpd.apache.org
Betreff: Re: Problem with DNS lookup caching in reverse proxy
----- Original Message -----
> Hello everybody,
>
> I have tried to solve my issue by contacting the users <at> mailing list
> but meanwhile I think this is the more appropriate list to address
> it.
RSS Feed