mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
Merge pull request #13 from hlouis/master
Fix bug in connection service
This commit is contained in:
@@ -89,6 +89,7 @@ _del(struct connection_server * server, int fd) {
|
||||
skynet_send(server->ctx, 0, c->address, PTYPE_CLIENT | PTYPE_TAG_DONTCOPY, 0, NULL, 0);
|
||||
connection_del(server->pool, fd);
|
||||
}
|
||||
--server->current_connection;
|
||||
c->address = 0;
|
||||
c->fd = 0;
|
||||
c->close = 0;
|
||||
|
||||
Reference in New Issue
Block a user