comparison src/event/modules/ngx_rtsig_module.c @ 469:2ff194b74f1e release-0.1.9

nginx-0.1.9-RELEASE import *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2004 16:17:31 +0000
parents a88a3e4e158f
children 975f62e77f02
comparison
equal deleted inserted replaced
468:1a67596d0349 469:2ff194b74f1e
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 10
11 11
12 #if (TEST_BUILD_RTSIG) 12 #if (NGX_TEST_BUILD_RTSIG)
13 13
14 #define F_SETSIG 10 14 #define F_SETSIG 10
15 #define SIGRTMIN 33 15 #define SIGRTMIN 33
16 #define si_fd __spare__[0] 16 #define si_fd __spare__[0]
17 #define KERN_RTSIGNR 30 17 #define KERN_RTSIGNR 30
215 ngx_log_error(NGX_LOG_ALERT, c->log, ngx_errno, 215 ngx_log_error(NGX_LOG_ALERT, c->log, ngx_errno,
216 "fcntl(F_SETOWN) failed"); 216 "fcntl(F_SETOWN) failed");
217 return NGX_ERROR; 217 return NGX_ERROR;
218 } 218 }
219 219
220 #if (HAVE_ONESIGFD) 220 #if (NGX_HAVE_ONESIGFD)
221 if (fcntl(c->fd, F_SETAUXFL, O_ONESIGFD) == -1) { 221 if (fcntl(c->fd, F_SETAUXFL, O_ONESIGFD) == -1) {
222 ngx_log_error(NGX_LOG_ALERT, c->log, ngx_errno, 222 ngx_log_error(NGX_LOG_ALERT, c->log, ngx_errno,
223 "fcntl(F_SETAUXFL) failed"); 223 "fcntl(F_SETAUXFL) failed");
224 return NGX_ERROR; 224 return NGX_ERROR;
225 } 225 }