mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-24 05:32:21 +00:00
CLEANUP: debug: Use DPRINTF instead of fprintf into #ifdef DEBUG_FULL/#endif
This commit is contained in:
parent
165f07e7b4
commit
56803b1c98
@ -770,9 +770,7 @@ int assign_server_address(struct stream *s)
|
||||
struct connection *cli_conn = objt_conn(strm_orig(s));
|
||||
struct connection *srv_conn = cs_conn(objt_cs(s->si[1].end));
|
||||
|
||||
#ifdef DEBUG_FULL
|
||||
fprintf(stderr,"assign_server_address : s=%p\n",s);
|
||||
#endif
|
||||
DPRINTF(stderr,"assign_server_address : s=%p\n",s);
|
||||
|
||||
if ((s->flags & SF_DIRECT) || (s->be->lbprm.algo & BE_LB_KIND)) {
|
||||
/* A server is necessarily known for this stream */
|
||||
|
@ -2441,13 +2441,11 @@ struct task *process_stream(struct task *t)
|
||||
if (si_b->exp)
|
||||
t->expire = tick_first(t->expire, si_b->exp);
|
||||
|
||||
#ifdef DEBUG_FULL
|
||||
fprintf(stderr,
|
||||
DPRINTF(stderr,
|
||||
"[%u] queuing with exp=%u req->rex=%u req->wex=%u req->ana_exp=%u"
|
||||
" rep->rex=%u rep->wex=%u, si[0].exp=%u, si[1].exp=%u, cs=%d, ss=%d\n",
|
||||
now_ms, t->expire, req->rex, req->wex, req->analyse_exp,
|
||||
res->rex, res->wex, si_f->exp, si_b->exp, si_f->state, si_b->state);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_DEV
|
||||
/* this may only happen when no timeout is set or in case of an FSM bug */
|
||||
|
Loading…
Reference in New Issue
Block a user