comparison src/event/modules/ngx_rtsig_module.c @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) 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; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 46833bd150cb
children 41ccba1aba45
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
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 }