diff options
author | Jason Unovitch <junovitch@FreeBSD.org> | 2015-09-09 14:20:03 +0000 |
---|---|---|
committer | Jason Unovitch <junovitch@FreeBSD.org> | 2015-09-09 14:20:03 +0000 |
commit | ced42082201236ec428dab3abb72a8007bf40a82 (patch) | |
tree | 9cdee74a2cecd81ccf65b2092963bd9d0a614247 /databases/pgbouncer/files/patch-keepalive | |
parent | Document pgbouncer failed auth_query lookups falling back to auth_user (diff) |
databases/pgbouncer: update 1.5.5 -> 1.6.1
While here, add HTTP mirror to address portlint
PR: 202957
Submitted by: m.tsatsenko@gmail.com (maintainer)
Approved by: feld (mentor)
Notes
Notes:
svn path=/head/; revision=396504
Diffstat (limited to 'databases/pgbouncer/files/patch-keepalive')
-rw-r--r-- | databases/pgbouncer/files/patch-keepalive | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/databases/pgbouncer/files/patch-keepalive b/databases/pgbouncer/files/patch-keepalive deleted file mode 100644 index 5da439c89796..000000000000 --- a/databases/pgbouncer/files/patch-keepalive +++ /dev/null @@ -1,46 +0,0 @@ ---- src/util.c.orig 2011-12-07 15:04:13.000000000 +0400 -+++ src/util.c 2011-12-07 15:04:07.000000000 +0400 -@@ -126,7 +126,7 @@ - res = setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val)); - if (res < 0) - goto fail; --#ifdef __linux__ -+#ifdef TCP_KEEPCNT - /* set count of keepalive packets */ - if (cf_tcp_keepcnt > 0) { - val = cf_tcp_keepcnt; -@@ -134,6 +134,8 @@ - if (res < 0) - goto fail; - } -+#endif -+#ifdef TCP_KEEPIDLE - /* how long the connection can stay idle before sending keepalive pkts */ - if (cf_tcp_keepidle) { - val = cf_tcp_keepidle; -@@ -141,6 +143,8 @@ - if (res < 0) - goto fail; - } -+#endif -+#ifdef TCP_KEEPINTVL - /* time between packets */ - if (cf_tcp_keepintvl) { - val = cf_tcp_keepintvl; -@@ -148,7 +152,7 @@ - if (res < 0) - goto fail; - } --#else -+#endif - #ifdef TCP_KEEPALIVE - if (cf_tcp_keepidle) { - val = cf_tcp_keepidle; -@@ -157,7 +161,6 @@ - goto fail; - } - #endif --#endif - } - - /* set in-kernel socket buffer size */ |