mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 02:56:51 +00:00
* released 1.2.6-pre5 (1.1.32)
* added the number of active sessions (proxy/process) in the logs
This commit is contained in:
parent
b1285d5ce0
commit
0fe396592d
@ -2,6 +2,9 @@ ChangeLog :
|
||||
===========
|
||||
|
||||
2005/07/06 : 1.2.6 (1.1.32)
|
||||
- added the number of active sessions (proxy/process) in the logs
|
||||
|
||||
2005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
|
||||
- the time-out fix introduced in 1.1.25 caused a corner case where it was
|
||||
possible for a client to keep a connection maintained regardless of the
|
||||
timeout if the server closed the connection during the HEADER phase,
|
||||
|
@ -2385,7 +2385,7 @@ void sess_log(struct session *s) {
|
||||
}
|
||||
*h = '\0';
|
||||
|
||||
send_log(p, LOG_INFO, "%s:%d [%02d/%s/%04d:%02d:%02d:%02d] %s %s %d/%d/%d/%s%d %d %s%lld %s %s %c%c%c%c%s\n",
|
||||
send_log(p, LOG_INFO, "%s:%d [%02d/%s/%04d:%02d:%02d:%02d] %s %s %d/%d/%d/%s%d %d %s%lld %s %s %c%c%c%c %d/%d%s\n",
|
||||
pn,
|
||||
(s->cli_addr.ss_family == AF_INET) ?
|
||||
ntohs(((struct sockaddr_in *)&s->cli_addr)->sin_port) :
|
||||
@ -2405,10 +2405,10 @@ void sess_log(struct session *s) {
|
||||
sess_fin_state[(s->flags & SN_FINST_MASK) >> SN_FINST_SHIFT],
|
||||
(p->options & PR_O_COOK_ANY) ? sess_cookie[(s->flags & SN_CK_MASK) >> SN_CK_SHIFT] : '-',
|
||||
(p->options & PR_O_COOK_ANY) ? sess_set_cookie[(s->flags & SN_SCK_MASK) >> SN_SCK_SHIFT] : '-',
|
||||
tmpline);
|
||||
p->nbconn, actconn, tmpline);
|
||||
}
|
||||
else {
|
||||
send_log(p, LOG_INFO, "%s:%d [%02d/%s/%04d:%02d:%02d:%02d] %s %s %d/%s%d %s%lld %c%c\n",
|
||||
send_log(p, LOG_INFO, "%s:%d [%02d/%s/%04d:%02d:%02d:%02d] %s %s %d/%s%d %s%lld %c%c %d/%d\n",
|
||||
pn,
|
||||
(s->cli_addr.ss_family == AF_INET) ?
|
||||
ntohs(((struct sockaddr_in *)&s->cli_addr)->sin_port) :
|
||||
@ -2420,7 +2420,8 @@ void sess_log(struct session *s) {
|
||||
(p->to_log & LW_BYTES) ? "" : "+", s->logs.t_close,
|
||||
(p->to_log & LW_BYTES) ? "" : "+", s->logs.bytes,
|
||||
sess_term_cond[(s->flags & SN_ERR_MASK) >> SN_ERR_SHIFT],
|
||||
sess_fin_state[(s->flags & SN_FINST_MASK) >> SN_FINST_SHIFT]);
|
||||
sess_fin_state[(s->flags & SN_FINST_MASK) >> SN_FINST_SHIFT],
|
||||
p->nbconn, actconn);
|
||||
}
|
||||
|
||||
s->logs.logwait = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user