Mercurial > hg > nginx
comparison src/core/ngx_connection.c @ 569:174f1e853e1e release-0.3.6
nginx-0.3.6-RELEASE import
*) 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; the bug had 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 <igor@sysoev.ru> |
---|---|
date | Mon, 24 Oct 2005 15:09:41 +0000 |
parents | 7c1369d37c7e |
children | 4d9ea73a627a |
comparison
equal
deleted
inserted
replaced
568:91e400506e99 | 569:174f1e853e1e |
---|---|
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) { |