MINOR: stream: Uninline and export sess_set_term_flags() function
This function will be used to set termination flags on TCP streams from
outside of process_stream(). Thus, it must be uninlined and exported.
diff --git a/include/haproxy/stream.h b/include/haproxy/stream.h
index ac2158d..c400955 100644
--- a/include/haproxy/stream.h
+++ b/include/haproxy/stream.h
@@ -387,6 +387,7 @@
int stream_set_timeout(struct stream *s, enum act_timeout_name name, int timeout);
void stream_retnclose(struct stream *s, const struct buffer *msg);
+void sess_set_term_flags(struct stream *s);
void service_keywords_register(struct action_kw_list *kw_list);
struct action_kw *service_find(const char *kw);
diff --git a/src/stream.c b/src/stream.c
index ae92b18..f8fc062 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -960,7 +960,7 @@
* also counts a failed request if the server state has not reached the request
* stage.
*/
-static void sess_set_term_flags(struct stream *s)
+void sess_set_term_flags(struct stream *s)
{
if (!(s->flags & SF_FINST_MASK)) {
if (s->scb->state == SC_ST_INI) {