comparison src/os/unix/ngx_recv.c @ 132:91372f004adf NGINX_0_3_13

nginx 0.3.13 *) 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; bug appeared in 0.3.11.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Dec 2005 00:00:00 +0300
parents 82d695e3d662
children 3656228c0b56
comparison
equal deleted inserted replaced
131:add6b1e86d38 132:91372f004adf
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) {