projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151a238
)
MINOR: stream: use conn_full_close() instead of conn_force_close()
author
Willy Tarreau
<w@1wt.eu>
Thu, 5 Oct 2017 16:13:15 +0000
(18:13 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 22 Oct 2017 07:54:18 +0000
(09:54 +0200)
We simply disable tracking before calling it.
src/stream.c
patch
|
blob
|
history
diff --git
a/src/stream.c
b/src/stream.c
index
4ec6283
..
2e9b95c
100644
(file)
--- a/
src/stream.c
+++ b/
src/stream.c
@@
-334,8
+334,10
@@
static void stream_free(struct stream *s)
http_end_txn(s);
/* ensure the client-side transport layer is destroyed */
- if (cli_conn)
- conn_force_close(cli_conn);
+ if (cli_conn) {
+ conn_stop_tracking(cli_conn);
+ conn_full_close(cli_conn);
+ }
for (i = 0; i < s->store_count; i++) {
if (!s->store[i].ts)