comparison src/os/win32/ngx_sendfile.c @ 60:50186b49f2ad

nginx-0.0.1-2003-02-11-10:14:40 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 11 Feb 2003 07:14:40 +0000
parents e8cdc2989cee
children 8dee38ea9117
comparison
equal deleted inserted replaced
59:e8cdc2989cee 60:50186b49f2ad
81 81
82 } else { 82 } else {
83 ptfb = NULL; 83 ptfb = NULL;
84 } 84 }
85 85
86 #if 0 86 #if 1
87 flags = TF_DISCONNECT|TF_REUSE_SOCKET; 87 flags = TF_DISCONNECT|TF_REUSE_SOCKET;
88 tfrc = transmitfile(c->fd, NULL, 0, 0, &olp, NULL, flags);
89 #else
90 tfrc = TransmitFile(c->fd, fd, nbytes, 0, &olp, ptfb, flags);
88 #endif 91 #endif
89
90 tfrc = TransmitFile(c->fd, fd, nbytes, 0, &olp, ptfb, flags);
91 92
92 #if 0 93 #if 0
93 #if 1 94 #if 1
94 tfrc = TransmitFile(c->fd, fd, nbytes, 0, &olp, ptfb, 0); 95 tfrc = TransmitFile(c->fd, fd, nbytes, 0, &olp, ptfb, 0);
95 #else 96 #else