[BUG] pre-initialize timeouts with tv_eternity during parsing
authorWilly Tarreau <w@1wt.eu>
Mon, 14 May 2007 12:37:50 +0000 (14:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 May 2007 12:37:50 +0000 (14:37 +0200)
commitee991369924ea656d2ed363f83a4ac2b904f19b1
treee0108d92b88cc259775ab841bcc2bfc921b970b1
parentfc273c230de6f328bbae861f18b4da2f5d099bdc
[BUG] pre-initialize timeouts with tv_eternity during parsing

ETERNITY is not 0 anymore, so all timeouts will not be initialized
to ETERNITY by a simple calloc(). We have to explictly assign them.

This bug caused random session aborts.
src/cfgparse.c
src/client.c
src/proto_http.c