projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f098fd0
)
MINOR: stream-int: use conn_full_close() instead of conn_force_close()
author
Willy Tarreau
<w@1wt.eu>
Sun, 22 Oct 2017 07:39:11 +0000
(09:39 +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.
include/proto/stream_interface.h
patch
|
blob
|
history
diff --git
a/include/proto/stream_interface.h
b/include/proto/stream_interface.h
index
bafac02
..
70a3234
100644
(file)
--- a/
include/proto/stream_interface.h
+++ b/
include/proto/stream_interface.h
@@
-160,7
+160,8
@@
static inline void si_release_endpoint(struct stream_interface *si)
if ((conn = objt_conn(si->end))) {
LIST_DEL(&conn->list);
- conn_force_close(conn);
+ conn_stop_tracking(conn);
+ conn_full_close(conn);
conn_free(conn);
}
else if ((appctx = objt_appctx(si->end))) {