Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4551 - trunk/auto

Anonymous User
March 21, 2012 11:36AM
Author: ru
Date: 2012-03-21 15:35:05 +0000 (Wed, 21 Mar 2012)
New Revision: 4551
URL: http://trac.nginx.org/nginx/changeset/4551/nginx

Log:
The addition of $tcpinfo_* variables has broken the build on Linux
systems with glibc versions prior to 2.7. Fixed this by checking
the existence of "struct tcp_info" members during configuration.


Modified:
trunk/auto/unix

Modified: trunk/auto/unix
===================================================================
--- trunk/auto/unix 2012-03-21 13:58:51 UTC (rev 4550)
+++ trunk/auto/unix 2012-03-21 15:35:05 UTC (rev 4551)
@@ -352,6 +352,11 @@
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="socklen_t optlen = sizeof(struct tcp_info);
+ struct tcp_info ti;
+ ti.tcpi_rtt = 0;
+ ti.tcpi_rttvar = 0;
+ ti.tcpi_snd_cwnd = 0;
+ ti.tcpi_rcv_space = 0;
getsockopt(0, IPPROTO_TCP, TCP_INFO, NULL, &optlen)"
. auto/feature


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4551 - trunk/auto

Anonymous User 1242 March 21, 2012 11:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready