Skip to content

Commit

Permalink
close listening socket when attaching session (closes #155)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-u committed Feb 12, 2024
1 parent 77cfadb commit a50c436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Rserv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,7 @@ SOCKET resume_session(void) {
#ifdef RSERV_DEBUG
printf("session: accepted\n");
#endif
closesocket(session_socket);
return s;
}
}
Expand Down

0 comments on commit a50c436

Please sign in to comment.