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:
5b78a9d
)
MINOR: stream: use conn_full_close() instead of conn_force_close()
author
Willy Tarreau
<w@1wt.eu>
Thu, 5 Oct 2017 16:02:55 +0000
(18:02 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 22 Oct 2017 07:54:18 +0000
(09:54 +0200)
There's no point in using conn_force_close() in outgoing connect()
since XPRT_TRACKED is not set so both functions are equivalent.
src/stream.c
patch
|
blob
|
history
diff --git
a/src/stream.c
b/src/stream.c
index
880327b
..
4ec6283
100644
(file)
--- a/
src/stream.c
+++ b/
src/stream.c
@@
-571,7
+571,7
@@
static int sess_update_st_con_tcp(struct stream *s)
si->exp = TICK_ETERNITY;
si->state = SI_ST_CER;
- conn_force_close(srv_conn);
+ conn_full_close(srv_conn);
if (si->err_type)
return 0;