Skip to content

Commit

Permalink
fix: close socket when you attach session
Browse files Browse the repository at this point in the history
Fixes s-u#155
  • Loading branch information
fdlk committed Aug 14, 2020
1 parent 96b9a10 commit 176d734
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 @@ -1517,6 +1517,7 @@ SOCKET resume_session() {
#ifdef RSERV_DEBUG
printf("session: accepted\n");
#endif
closesocket(session_socket);
return s;
}
}
Expand Down

0 comments on commit 176d734

Please sign in to comment.