Klaus Demo nginx / cf08ba7
Fixed handling of the ready flag with kqueue. There is nothing to do more when recv() has returned 0, so we should drop the flag. Valentin Bartenev 8 years ago
2 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
128128 "%d available bytes", rev->available);
129129 #endif
130130
131 rev->ready = 0;
131132 rev->eof = 1;
132133 rev->available = 0;
133134 }
7979 * even if kqueue reported about available data
8080 */
8181
82 rev->ready = 0;
8283 rev->eof = 1;
8384 rev->available = 0;
8485 }