commit | 729c69f6e5c9098901d2242d86cf56bbf9ac6fe3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 12 22:51:10 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 12 22:51:10 2015 +0100 |
tree | fcd8c1f36df1d689d17d637556883cbd76c2b43c | |
parent | 4dfd54f26a8bbef6aeec1df970bd8e1e84263137 [diff] |
MINOR: connection: perform the call to xprt->shutw() in conn_data_shutw() This will save callers from having to care about conn->xprt and xprt->shutw. Note that shutw() takes a second argument indicating whether it's a clean or a hard shutw. This is used by SSL which tries to close cleanly in most cases. Here we provide two versions, conn_data_shutw() which performs the clean close, and conn_data_shutw_hard() which does the unclean one.