Mercurial > hg > nginx
comparison auto/unix @ 4545:ba39af7274ed
Implemented $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd, and
$tcpinfo_rcv_space variables. Supported on Linux and FreeBSD.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 Mar 2012 19:15:33 +0000 |
parents | 51744fa997c7 |
children | d29dc0486e8e |
comparison
equal
deleted
inserted
replaced
4544:3a99980ac221 | 4545:ba39af7274ed |
---|---|
338 ngx_feature_path= | 338 ngx_feature_path= |
339 ngx_feature_libs= | 339 ngx_feature_libs= |
340 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); | 340 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); |
341 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); | 341 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); |
342 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" | 342 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" |
343 . auto/feature | |
344 | |
345 | |
346 ngx_feature="TCP_INFO" | |
347 ngx_feature_name="NGX_HAVE_TCP_INFO" | |
348 ngx_feature_run=no | |
349 ngx_feature_incs="#include <sys/socket.h> | |
350 #include <netinet/in.h> | |
351 #include <netinet/tcp.h>" | |
352 ngx_feature_path= | |
353 ngx_feature_libs= | |
354 ngx_feature_test="socklen_t optlen = sizeof(struct tcp_info); | |
355 getsockopt(0, IPPROTO_TCP, TCP_INFO, NULL, &optlen)" | |
343 . auto/feature | 356 . auto/feature |
344 | 357 |
345 | 358 |
346 ngx_feature="accept4()" | 359 ngx_feature="accept4()" |
347 ngx_feature_name="NGX_HAVE_ACCEPT4" | 360 ngx_feature_name="NGX_HAVE_ACCEPT4" |