comparison src/event/ngx_event_wsarecv.c @ 195:8dee38ea9117

nginx-0.0.1-2003-11-25-23:44:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 25 Nov 2003 20:44:56 +0000
parents e8cdc2989cee
children
comparison
equal deleted inserted replaced
194:2357fa41738a 195:8dee38ea9117
30 } 30 }
31 31
32 if (ev->ready) { 32 if (ev->ready) {
33 ev->ready = 0; 33 ev->ready = 0;
34 34
35 #if (HAVE_IOCP_EVENT) /* iocp */ 35 #if (HAVE_IOCP) /* iocp */
36 36
37 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) { 37 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) {
38 if (ev->ovlp.error) { 38 if (ev->ovlp.error) {
39 ngx_log_error(NGX_LOG_ERR, c->log, ev->ovlp.error, 39 ngx_log_error(NGX_LOG_ERR, c->log, ev->ovlp.error,
40 "WSARecv() failed"); 40 "WSARecv() failed");
83 ngx_log_error(NGX_LOG_CRIT, ev->log, err, "WSARecv() failed"); 83 ngx_log_error(NGX_LOG_CRIT, ev->log, err, "WSARecv() failed");
84 return NGX_ERROR; 84 return NGX_ERROR;
85 } 85 }
86 } 86 }
87 87
88 #if (HAVE_IOCP_EVENT) /* iocp */ 88 #if (HAVE_IOCP) /* iocp */
89 89
90 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) { 90 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) {
91 return NGX_AGAIN; 91 return NGX_AGAIN;
92 } 92 }
93 93