comparison src/http/modules/ngx_http_userid_filter_module.c @ 492:98143f74eb3d NGINX_0_7_58

nginx 0.7.58 *) Feature: a "listen" directive of the mail proxy module supports IPv6. *) Feature: the "image_filter_jpeg_quality" directive. *) Feature: the "client_body_in_single_buffer" directive. *) Feature: the $request_body variable. *) Bugfix: in ngx_http_autoindex_module in file name links having a ":" symbol in the name. *) Bugfix: "make upgrade" procedure did not work; the bug had appeared in 0.7.53. Thanks to Denis F. Latypoff.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 May 2009 00:00:00 +0400
parents a8424ffa495c
children f39b9e29530d
comparison
equal deleted inserted replaced
491:bb2281a3edb6 492:98143f74eb3d
388 ctx->uid_set[3] = sequencer_v1; 388 ctx->uid_set[3] = sequencer_v1;
389 sequencer_v1 += 0x100; 389 sequencer_v1 += 0x100;
390 390
391 } else { 391 } else {
392 if (conf->service == NGX_CONF_UNSET) { 392 if (conf->service == NGX_CONF_UNSET) {
393 if (ngx_http_server_addr(r, NULL) != NGX_OK) { 393
394 c = r->connection;
395
396 if (ngx_connection_local_sockaddr(c, NULL, 0) != NGX_OK) {
394 return NGX_ERROR; 397 return NGX_ERROR;
395 } 398 }
396
397 c = r->connection;
398 399
399 switch (c->local_sockaddr->sa_family) { 400 switch (c->local_sockaddr->sa_family) {
400 401
401 #if (NGX_HAVE_INET6) 402 #if (NGX_HAVE_INET6)
402 case AF_INET6: 403 case AF_INET6: