commit | dae2a8a5a542e8a166b7bbb2164c666334c9fcea | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jul 23 10:55:43 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 31 07:55:31 2012 +0200 |
tree | dace8d6afef709f5ca1ef5fa4e13b41e72fd7183 | |
parent | 65c1796c4aeb54fc10430ba89f15141702f42eee [diff] |
BUG/MINOR: tarpit: fix condition to return the HTTP 500 message Commit fa7e1025 (1.3.16-rc1) introduced a minor bug by comparing req->flags with BF_READ_ERROR instead of checking for the bit. The result is that the error message is always returned even in case of client error. This has no real impact but this must be fixed. It may be backported to 1.4 and 1.3.