comparison src/os/unix/ngx_recv.c @ 583:4e296b7d25bf release-0.3.13

nginx-0.3.13-RELEASE import *) Feature: the IMAP/POP3 proxy supports STARTTLS and STLS. *) Bugfix: the IMAP/POP3 proxy did not work with the select, poll, and /dev/poll methods. *) Bugfix: in SSI handling. *) Bugfix: now Solaris sendfilev() is not used to transfer the client request body to FastCGI-server via the unix domain socket. *) Bugfix: the "auth_basic" directive did not disable the authorization; the bug had appeared in 0.3.11.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Dec 2005 13:18:09 +0000
parents 326634fb9d47
children 284cc140593b
comparison
equal deleted inserted replaced
582:6646640ac20b 583:4e296b7d25bf
58 if (n >= 0) { 58 if (n >= 0) {
59 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { 59 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) {
60 rev->available -= n; 60 rev->available -= n;
61 61
62 /* 62 /*
63 * rev->available can be negative here because some additional 63 * rev->available may be negative here because some additional
64 * bytes can be received between kevent() and recv() 64 * bytes can be received between kevent() and recv()
65 */ 65 */
66 66
67 if (rev->available <= 0) { 67 if (rev->available <= 0) {
68 if (!rev->pending_eof) { 68 if (!rev->pending_eof) {