Skip to content

Commit

Permalink
On DragonFly BSD 5.8+, TCP_KEEPIDLE and TCP_KEEPINTVL are in secs.
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 authored and pluknet committed Nov 18, 2024
1 parent 36ca44f commit 7cd60cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/unix/ngx_freebsd_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7cd60cd

Please sign in to comment.