Skip to content

Commit 4874337

Browse files
committed
[connection] add comment about keepalive-reset in li_connection_reset
Change-Id: I3dec8c31c3af62ede3bf401ed752dac6032b837e
1 parent 08b3d5d commit 4874337

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/connection.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,10 @@ void li_connection_reset(liConnection *con) {
571571
li_stream_reset(&con->in);
572572
li_stream_reset(&con->out);
573573

574+
/* keep details of last request around until final cleanup in li_connection_reset2;
575+
* don't actually do any "keepalive" here */
574576
li_vrequest_reset(con->mainvr, TRUE);
577+
575578
li_stream_release(&con->in);
576579
li_stream_release(&con->out);
577580

0 commit comments

Comments
 (0)