mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix in Mac OSX
This commit is contained in:
@@ -446,6 +446,9 @@ _read_one(struct mread_pool * self) {
|
||||
readflag = flag & EVFILT_READ;
|
||||
#endif
|
||||
++ self->queue_head;
|
||||
if (ret == LISTENSOCKET) {
|
||||
return ret;
|
||||
}
|
||||
if (writeflag) {
|
||||
client_send(&ret->client, ret->fd);
|
||||
try_close(self, ret);
|
||||
|
||||
Reference in New Issue
Block a user