Welcome! Log In Create A New Profile

Advanced

[nginx] On DragonFly BSD 5.8+, TCP_KEEPIDLE and TCP_KEEPINTVL are in secs.

Anonymous User
November 18, 2024 03:32PM
details: https://github.com/nginx/nginx/commit/7cd60cd475901016bf3e8b22b7394b136b80a0c8
branches: master
commit: 7cd60cd475901016bf3e8b22b7394b136b80a0c8
user: Andy Pan <i@andypan.me>
date: Tue, 15 Oct 2024 17:20:20 +0800
description:
On DragonFly BSD 5.8+, TCP_KEEPIDLE and TCP_KEEPINTVL are in secs.


---
src/os/unix/ngx_freebsd_config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index c641108b7..815342974 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -103,7 +103,7 @@ typedef struct aiocb ngx_aiocb_t;
#define NGX_LISTEN_BACKLOG -1


-#ifdef __DragonFly__
+#if (defined __DragonFly__ && __DragonFly_version < 500702)
#define NGX_KEEPALIVE_FACTOR 1000
#endif

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

[nginx] On DragonFly BSD 5.8+, TCP_KEEPIDLE and TCP_KEEPINTVL are in secs.

Anonymous User 157 November 18, 2024 03:32PM



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

Online Users

Guests: 202
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready