mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +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;
|
readflag = flag & EVFILT_READ;
|
||||||
#endif
|
#endif
|
||||||
++ self->queue_head;
|
++ self->queue_head;
|
||||||
|
if (ret == LISTENSOCKET) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
if (writeflag) {
|
if (writeflag) {
|
||||||
client_send(&ret->client, ret->fd);
|
client_send(&ret->client, ret->fd);
|
||||||
try_close(self, ret);
|
try_close(self, ret);
|
||||||
|
|||||||
Reference in New Issue
Block a user