commit | 3fe693b4d6c3e912688c1996a977cd4d56ed7334 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 12 12:50:05 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 12 12:50:05 2010 +0100 |
tree | 437a409a93ebe11f5d9d64ade4960b7faad20a67 | |
parent | 078272e1152649f7b4d298a937b785f99fd717c2 [diff] |
[BUG] http chunking: don't report a parsing error on connection errors When haproxy parses chunk-encoded data that are scheduled to be sent, it is possible that the other end is closed (mainly due to a client abort returning as an error). The message state thus changes to HTTP_MSG_ERROR and the error is reported as a chunk parsing error ("PD--") while it is not. Detect this case before setting the flags and set the appropriate flag in this case.