Project

General

Profile

Bug #1914

Mismatch between code and log output

Added by leromarinvit over 10 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_proxy_core
Target version:
Start date:
2009-02-24
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

Description

In proxy_state_engine in mod_proxy_core.c, when handling unknown connection failures (around line 1500 as of r2349), the address in question is disabled for 60 seconds, but two lines later it writes to the error log that it was disabled for 10 seconds. I guess they should be the same, but I have no idea if 10 or 60 seconds is more reasonable.

sess->proxy_con->address->disabled_until = srv->cur_ts + 60;
TRACE("connected finally failed: %s (%d)", strerror(socket_error), socket_error);
TRACE("connect to address %s failed and I don't know why, disabling for 10 sec", sess->proxy_con->address->name->ptr);

History

#1

Updated by stbuehler over 10 years ago

  • Target version set to 1.5.0
#2

Updated by gstrauss about 3 years ago

  • Missing in 1.5.x set to Yes
#3

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom