[sr-dev] [kamailio/kamailio] janssonrpcc: add new parameter "keep_alive" (#1808)

Emmanuel Schmidbauer notifications at github.com
Fri Jan 11 18:48:48 CET 2019


eschmidbauer commented on this pull request.



> @@ -79,6 +82,11 @@ void force_disconnect(jsonrpc_server_t* server)
 	server->buffer = NULL;
 
 	server->status = JSONRPC_SERVER_DISCONNECTED;
+	if (server->keep_alive_socket_fd) {
+		INFO("closing socket");
+		close(server->keep_alive_socket_fd);
+		server->keep_alive_socket_fd = -1;
+	}
 

thanks! i've updated the PR

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1808#discussion_r247200881
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190111/afe8cfad/attachment.html>


More information about the sr-dev mailing list