bugfix in Mac OSX

This commit is contained in:
Cloud
2013-06-12 01:29:33 +08:00
parent a06fca2ef6
commit c8b5c9ed89

View File

@@ -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);