]> git.kaiwu.me - haproxy.git/commit
MEDIUM: stream-int: replace xprt->shutw calls with conn_data_shutw()
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 22:04:07 +0000 (23:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 22:04:07 +0000 (23:04 +0100)
commit1398aa19d8d8035aef662749b55780a5cd4490b4
tree08e575d354a2ecc558975953d1e40959ccee635c
parent729c69f6e5c9098901d2242d86cf56bbf9ac6fe3
MEDIUM: stream-int: replace xprt->shutw calls with conn_data_shutw()

Now that the connection performs the correct controls when shutting down,
use that in the few places where conn->xprt->shutw() was called. The calls
were split between conn_data_shutw() and conn_data_shutw_hard() depending
on the argument. Since the connection flags are updated, we don't need to
call conn_data_stop_send() anymore, instead we just have to call
conn_cond_update_polling().
src/stream_interface.c