nginx-0.5.32 crashed

Igor Sysoev is at rambler-co.ru
Thu Oct 18 15:20:56 MSD 2007


On Thu, Oct 18, 2007 at 03:08:51PM +0400, Denis Erygin wrote:

> src/http/ngx_http_upstream.c: [1890, 1898]:
> . . .
> if (ngx_event_pipe(p, ev->write) == NGX_ABORT)
> {
>   if (downstream->destroyed) {
>      return;
>   }
> 
>   ngx_http_upstream_finalize_request(r, u, 0);
>   return;
> }
> . . .
> 
> Нормально ли, когда ev->write < 0 ?
> например ev->write = -791621424

Вообще-то, ev->write - это один бит:

struct ngx_event_s {
    void            *data;

    unsigned         write:1;
    ...


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list