Mercurial > hg > nginx-vendor-0-5
comparison src/core/ngx_connection.c @ 118:644a7935144b NGINX_0_3_6
nginx 0.3.6
*) Change: now the IMAP/POP3 proxy do not send the empty login to
authorization server.
*) Feature: the "log_format" supports the variables in the $name form.
*) Bugfix: if at least in one server was no the "listen" directive,
then nginx did not listen on the 80 port; bug appeared in 0.3.3.
*) Bugfix: if the URI part is omitted in "proxy_pass" directive, the
the 80 port was always used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 Oct 2005 00:00:00 +0400 |
parents | ebca9c35e3a6 |
children | df17fbafec8f |
comparison
equal
deleted
inserted
replaced
117:0821ea4ccfc5 | 118:644a7935144b |
---|---|
365 if (setsockopt(ls[i].fd, SOL_SOCKET, SO_RCVBUF, | 365 if (setsockopt(ls[i].fd, SOL_SOCKET, SO_RCVBUF, |
366 (const void *) &ls[i].rcvbuf, sizeof(int)) | 366 (const void *) &ls[i].rcvbuf, sizeof(int)) |
367 == -1) | 367 == -1) |
368 { | 368 { |
369 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, | 369 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, |
370 "setsockopt(SO_RCVBUF) %V failed, ignored", | 370 "setsockopt(SO_RCVBUF, %d) %V failed, ignored", |
371 &ls[i].addr_text); | 371 ls[i].rcvbuf, &ls[i].addr_text); |
372 return; | |
373 } | 372 } |
374 } | 373 } |
375 | 374 |
376 if (ls[i].sndbuf != -1) { | 375 if (ls[i].sndbuf != -1) { |
377 if (setsockopt(ls[i].fd, SOL_SOCKET, SO_SNDBUF, | 376 if (setsockopt(ls[i].fd, SOL_SOCKET, SO_SNDBUF, |
378 (const void *) &ls[i].sndbuf, sizeof(int)) | 377 (const void *) &ls[i].sndbuf, sizeof(int)) |
379 == -1) | 378 == -1) |
380 { | 379 { |
381 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, | 380 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, |
382 "setsockopt(SO_SNDBUF) %V failed, ignored", | 381 "setsockopt(SO_SNDBUF, %d) %V failed, ignored", |
383 &ls[i].addr_text); | 382 ls[i].sndbuf, &ls[i].addr_text); |
384 return; | |
385 } | 383 } |
386 } | 384 } |
387 | 385 |
388 if (ls[i].listen) { | 386 if (ls[i].listen) { |
389 if (listen(ls[i].fd, ls[i].backlog) == -1) { | 387 if (listen(ls[i].fd, ls[i].backlog) == -1) { |