mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MEDIUM: stats: Don't interrupt processing on partial post
We no longer test the opposite stream-connector to detect aborted partial post. Applets must not try to access to info ouside their scope. This make the code more sensitive to changes and it is a common source of bug. Tests on the sedesc flags at the begining of the I/O handler should be enough.
This commit is contained in:
parent
6ac119ba2d
commit
a4dcd3e54b
1 changed files with 0 additions and 2 deletions
|
|
@ -4524,8 +4524,6 @@ static void http_stats_io_handler(struct appctx *appctx)
|
|||
if (appctx->st0 == STAT_HTTP_POST) {
|
||||
if (stats_process_http_post(sc))
|
||||
appctx->st0 = STAT_HTTP_LAST;
|
||||
else if (s->scf->flags & (SC_FL_EOS|SC_FL_ABRT_DONE))
|
||||
appctx->st0 = STAT_HTTP_DONE;
|
||||
}
|
||||
|
||||
if (appctx->st0 == STAT_HTTP_LAST) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue