Project

General

Profile

Actions

Bug #1914

closed

Mismatch between code and log output

Added by leromarinvit over 15 years ago. Updated over 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

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);
Actions #1

Updated by stbuehler over 15 years ago

  • Target version set to 1.5.0
Actions #2

Updated by gstrauss over 8 years ago

  • Missing in 1.5.x set to Yes
Actions #3

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom