Mercurial > hg > nginx
comparison src/core/ngx_connection.c @ 4522:14411ee4d89f
Whitespace fixes.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Mar 2012 18:09:06 +0000 |
parents | d620f497c50f |
children | 67653855682e |
comparison
equal
deleted
inserted
replaced
4521:dfca420d0446 | 4522:14411ee4d89f |
---|---|
512 "setsockopt(SO_KEEPALIVE, %d) %V failed, ignored", | 512 "setsockopt(SO_KEEPALIVE, %d) %V failed, ignored", |
513 keepalive, &ls[i].addr_text); | 513 keepalive, &ls[i].addr_text); |
514 } | 514 } |
515 } | 515 } |
516 | 516 |
517 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | 517 #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
518 | 518 |
519 if (ls[i].keepidle) { | 519 if (ls[i].keepidle) { |
520 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPIDLE, | 520 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPIDLE, |
521 (const void *) &ls[i].keepidle, sizeof(int)) | 521 (const void *) &ls[i].keepidle, sizeof(int)) |
522 == -1) | 522 == -1) |