mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
client close
This commit is contained in:
@@ -30,6 +30,10 @@ _cb(struct skynet_context * context, void * ud, int session, const char * addr,
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (err < 0) {
|
||||
skynet_error(context, "Client socket error : Drop message from %s session = %d", addr, session);
|
||||
return 0;
|
||||
}
|
||||
assert(err == sz +2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user