Skip to content

Commit 5398cac

Browse files
author
Bence Szigeti
committed
GCVCALLP-127_bump: Gather TCP timeout from TCP mgm profiles
1 parent ee85d68 commit 5398cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/proto_hep/proto_hep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static int hep_tcp_or_tls_send(const struct socket_info* send_sock,
578578
if (c->do_not_reuse) {
579579
c->lifetime = get_ticks() - 1;
580580
} else {
581-
tcp_conn_set_lifetime(c, tcp_con_lifetime);
581+
tcp_conn_reset_lifetime(c);
582582
}
583583

584584
LM_DBG("after write: c= %p n/len=%d/%d fd=%d\n", c, n, len, fd);

0 commit comments

Comments
 (0)