Mercurial > hg > nginx-mail
comparison src/event/ngx_event.c @ 30:e1ada20fc595 NGINX_0_1_15
nginx 0.1.15
*) Bugfix: the error while the connecting to the FastCGI server caused
segmentation fault.
*) Bugfix: the correct handling of the regular expression, that has
different number of the captures and substitutions.
*) Feature: the location, that is passed to the FastCGI server, can be
regular expression.
*) Bugfix: the FastCGI's parameter REQUEST_URI is now passed with the
arguments and in the original state.
*) Bugfix: the ngx_http_rewrite_module module was required to be built
to use the regular expressions in locations.
*) Bugfix: the directive "proxy_preserve_host on" adds port 80 to the
"Host" headers, if upstream listen on port 80; bug appeared in
0.1.14.
*) Bugfix: the same paths in autoconfiguration parameters
--http-client-body-temp-path=PATH and --http-proxy-temp-path=PATH,
or --http-client-body-temp-path=PATH and
--http-fastcgi-temp-path=PATH caused segmentation fault.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 19 Jan 2005 00:00:00 +0300 |
parents | 8b6db3bda591 |
children | da8c190bdaba |
comparison
equal
deleted
inserted
replaced
29:3efadd1f18f7 | 30:e1ada20fc595 |
---|---|
316 } | 316 } |
317 | 317 |
318 rev = cycle->read_events; | 318 rev = cycle->read_events; |
319 for (i = 0; i < cycle->connection_n; i++) { | 319 for (i = 0; i < cycle->connection_n; i++) { |
320 rev[i].closed = 1; | 320 rev[i].closed = 1; |
321 rev[i].instance = 1; | |
321 #if (NGX_THREADS) | 322 #if (NGX_THREADS) |
322 rev[i].lock = &c[i].lock; | 323 rev[i].lock = &c[i].lock; |
323 rev[i].own_lock = &c[i].lock; | 324 rev[i].own_lock = &c[i].lock; |
324 #endif | 325 #endif |
325 } | 326 } |
326 | 327 |
327 cycle->write_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections, | 328 cycle->write_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections, |
328 cycle->log); | 329 cycle->log); |
329 if (cycle->write_events == NULL) { | 330 if (cycle->write_events == NULL) { |
330 return NGX_ERROR; | 331 return NGX_ERROR; |
331 } | 332 } |
332 | 333 |
333 wev = cycle->write_events; | 334 wev = cycle->write_events; |
359 rev = &cycle->read_events[fd]; | 360 rev = &cycle->read_events[fd]; |
360 wev = &cycle->write_events[fd]; | 361 wev = &cycle->write_events[fd]; |
361 | 362 |
362 ngx_memzero(c, sizeof(ngx_connection_t)); | 363 ngx_memzero(c, sizeof(ngx_connection_t)); |
363 ngx_memzero(rev, sizeof(ngx_event_t)); | 364 ngx_memzero(rev, sizeof(ngx_event_t)); |
365 ngx_memzero(wev, sizeof(ngx_event_t)); | |
364 | 366 |
365 c->fd = s[i].fd; | 367 c->fd = s[i].fd; |
366 c->listening = &s[i]; | 368 c->listening = &s[i]; |
367 | 369 |
368 c->ctx = s[i].ctx; | 370 c->ctx = s[i].ctx; |