In chat(), reset byte_count each time we are buffering additional server headers.
authorFabian Keil <fk@fabiankeil.de>
Fri, 4 Sep 2009 18:28:32 +0000 (18:28 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 4 Sep 2009 18:28:32 +0000 (18:28 +0000)
commit8bca0f79b7baf6fc6c2155a5a1b8599c9245a467
tree0fe38a56a46d6b9a1d230c59c2dc53bf801ea2f7
parent50a1fc91b284f03aaa5bab757a5eb8559aea0903
In chat(), reset byte_count each time we are buffering additional server headers.

We otherwise seem to miscalculate it, if we don't get the whole head in two reads or less.
This is another attempt to fix #2840156 reported by Olivier.
It's not a permanent solution but should do for now.
jcc.c