diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-03-16 19:15:33 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-03-16 19:15:33 +0000 |
| commit | 926ded6f4c3e7d7fe15c448f202387e07c28bf03 (patch) | |
| tree | e3a5496572ff7c27ddb7674481e04ce0dd18dadf /auto | |
| parent | c2afb66e8885d9740ae5b7ade421d1522219551b (diff) | |
| download | nginx-926ded6f4c3e7d7fe15c448f202387e07c28bf03.tar.gz nginx-926ded6f4c3e7d7fe15c448f202387e07c28bf03.tar.bz2 | |
Implemented $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd, and
$tcpinfo_rcv_space variables. Supported on Linux and FreeBSD.
Diffstat (limited to 'auto')
| -rwxr-xr-x | auto/unix | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -343,6 +343,19 @@ ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); . auto/feature +ngx_feature="TCP_INFO" +ngx_feature_name="NGX_HAVE_TCP_INFO" +ngx_feature_run=no +ngx_feature_incs="#include <sys/socket.h> + #include <netinet/in.h> + #include <netinet/tcp.h>" +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="socklen_t optlen = sizeof(struct tcp_info); + getsockopt(0, IPPROTO_TCP, TCP_INFO, NULL, &optlen)" +. auto/feature + + ngx_feature="accept4()" ngx_feature_name="NGX_HAVE_ACCEPT4" ngx_feature_run=no |
