comparison src/os/win32/ngx_sendfile.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 50186b49f2ad
children
comparison
equal deleted inserted replaced
194:2357fa41738a 195:8dee38ea9117
40 } 40 }
41 41
42 if (ev->ready) { 42 if (ev->ready) {
43 ev->ready = 0; 43 ev->ready = 0;
44 44
45 #if (HAVE_IOCP_EVENT) /* iocp */ 45 #if (HAVE_IOCP) /* iocp */
46 46
47 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) { 47 if (ngx_event_flags & NGX_HAVE_IOCP_EVENT) {
48 if (ev->ovlp.error) { 48 if (ev->ovlp.error) {
49 ngx_log_error(NGX_LOG_ERR, ev->log, 0, "TransmitFile() failed"); 49 ngx_log_error(NGX_LOG_ERR, ev->log, 0, "TransmitFile() failed");
50 return NGX_ERROR; 50 return NGX_ERROR;