Tinderbox User
a853d87fc4
update copyright notice / whitespace
2018-01-13 23:48:14 +00:00
Mukund Sivaraman
929329d2d6
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
...
(cherry picked from commit f96133826e )
(cherry picked from commit 0374e1c3fd )
2018-01-13 11:47:46 +05:30
Mark Andrews
f8362536c6
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
(cherry picked from commit 92bbc9914c )
2017-11-02 10:43:18 +11:00
Mark Andrews
ad1317338a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
...
(cherry picked from commit a009d03a1a )
2017-10-03 14:55:33 +11:00
Michał Kępień
b351a58647
[v9_11] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
(cherry picked from commit c2179857de )
2017-09-18 08:34:53 +02:00
Mark Andrews
5a93d3be4e
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:33:02 +10:00
Evan Hunt
7cd594b842
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
(cherry picked from commit 114f95089c )
2017-09-13 00:17:16 -07:00
Evan Hunt
7dbeb5e7f0
[v9_11] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
(cherry picked from commit cdacec1dcb )
2017-08-09 00:24:16 -07:00
Mark Andrews
bfde61d519
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
(cherry picked from commit 4bf32aa587 )
2017-07-21 12:28:58 +10:00
Evan Hunt
1ca2cf0243
[v9_11] update copyrights that had been missed recently
2017-04-23 17:07:59 -07:00
Evan Hunt
8b9c4592ed
[v9_11] give threads unique names to assist debugging
...
4602. [func] Threads are now set to human-readable
names to assist debugging, when supported by
the OS. [RT #43234 ]
(cherry picked from commit d26ae7fc08 )
2017-04-21 14:00:15 -07:00
Mark Andrews
d0c5ff7f65
4528. [bug] Only set the flag bits for the i/o we are waiting
...
for on EPOLLERR or EPOLLHUP. [RT #43617 ]
(cherry picked from commit c1619b8420 )
2016-12-08 17:00:37 +11:00
Francis Dupont
66f169daf5
Fixed IP_PMTUDISC_OMIT typos
2016-11-02 09:19:45 +01:00
Mark Andrews
2ac8829a8a
4505. [port] Use IP_PMTUDISC_OMIT if available. [RT #35494 ]
...
(cherry picked from commit a61f252391 )
2016-11-02 17:40:27 +11:00
Mark Andrews
f51c0bba70
silence unused variable 'pollstate' warning [RT #43109 ]
...
(cherry picked from commit 9d11e46714 )
2016-08-30 14:26:17 +10:00
Mark Andrews
c27c710939
4443. [func] Set TCP_MAXSEG in addition to IPV6_USE_MIN_MTU on
...
TCP sockets. [RT #42864 ]
(cherry picked from commit 7872d4d1c0 )
2016-08-16 07:42:53 +10:00
Mark Andrews
c5342425ea
4440. [func] Enable TCP fast open support when available on the
...
server side. [RT #42866 ]
(cherry picked from commit a977bc4c8e )
2016-08-12 15:32:00 +10:00
Tinderbox User
ecd229e44c
update copyright notice / whitespace
2016-08-11 23:45:54 +00:00
Mark Andrews
36be0aad8e
4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message
...
will not fit into a single IPv4 encapsulated IPv6
UDP packet when transmitted over a Ethernet link.
[RT #42871 ]
(cherry picked from commit 31ffec1541 )
2016-08-12 09:43:55 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
a63461cc4b
update copyright notice / whitespace
2016-03-23 23:45:22 +00:00
Evan Hunt
11a3f0a049
[master] disallow out-of-range descriptors in isc_socket_fdwatchcreate()
2016-03-22 18:05:32 -07:00
Mukund Sivaraman
7bc21557f3
Fix bug in epoll_ctl() usage causing blocked connections ( #41067 )
2015-11-19 11:01:45 +05:30
Mark Andrews
a21c415687
4219. [bug] Set event->result to ISC_R_WOULDBLOCK on EWOULDBLOCK,
...
EGAIN when these soft error are not retried for
isc_socket_send*().
2015-09-21 17:22:53 +10:00
Mark Andrews
705d56b47a
4216. [cleanup] Silence static analysis warnings. [RT #40649 ]
2015-09-18 23:30:01 +10:00
Mark Andrews
f1a261ba2d
4104. [bug] Address uninitialized elements. [RT #39252 ]
2015-04-17 14:04:47 +10:00
Mark Andrews
af669cb4fd
4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708 ]
2015-02-27 10:55:55 +11:00
Mark Andrews
6a837e5121
address race condition with multiple isc_socket_connect calls in change 4041
2015-02-18 23:32:31 +11:00
Mukund Sivaraman
2696ceb4d4
Fix a Valgrind warning about use of uninitialized memory (as part of #38454 )
2015-02-03 11:43:34 +05:30
Tinderbox User
39f68d7b64
update copyright notice / whitespace
2015-01-21 23:45:24 +00:00
Evan Hunt
ff62d4458a
[master] allow shared TCP sockets when connecting
...
4041. [func] TCP sockets can now be shared while connecting.
(This will be used to enable client-side support
of pipelined queries.) [RT #38231 ]
2015-01-20 17:22:31 -08:00
Mark Andrews
d8f2dd46cb
4025. [port] bsdi: failed to build. [RT #38047 ]
2014-12-19 12:06:35 +11:00
Mark Andrews
871f3c8bee
3980. [bug] Improve --with-tuning=large by self tuning of SO_RCVBUF
...
size. [RT #37187 ]
2014-10-18 12:40:13 +11:00
Mark Andrews
52131a8351
3948. [port] solaris: RCVBUFSIZE was too large on Solaris with
...
--with-tuning=large. [RT #37059 ]
2014-09-09 09:41:55 +10:00
Mark Andrews
a1dee90bfb
adjust INSIST now that dev->dscp is unsigned
2014-07-19 11:56:23 +10:00
Mark Andrews
89cf81b462
3896. [bug] Address performance issues with DSCP code on some
...
platforms. [RT #36534 ]
2014-07-18 11:40:44 +10:00
Mark Andrews
1a03e9eb52
rename closesocket to socketclose to avoid coverity model for window's closesocket
2014-06-26 10:47:48 +10:00
Mark Andrews
358cc47a25
address typo
2014-05-27 14:10:12 +10:00
Mark Andrews
4b22b8decb
fix typo == -> =
2014-05-24 23:24:19 +10:00
Mark Andrews
a569e1b321
3860. [bug] ioctl(DP_POLL) array size needs to be determined
...
at run time as it is limited to {OPEN_MAX}.
[RT #35878 ]
2014-05-23 13:05:23 +10:00
Mark Andrews
44c6deacdd
additional changes for:
...
3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.
2014-04-24 18:59:01 +10:00
Evan Hunt
b454c03196
[master] use ANSI prototypes, clean up some casts
2014-03-04 10:42:25 -08:00
Mark Andrews
86ec04712b
#include <inttypes.h>
2014-02-27 11:57:51 +11:00
Evan Hunt
6a3fa181d1
[master] add "--with-tuning=large" option
...
3745. [func] "configure --with-tuning=large" adjusts various
compiled-in constants and default settings to
values suited to large servers with abundant
memory. [RT #29538 ]
2014-02-18 22:36:14 -08:00
Mark Andrews
850b5e8093
Add Linux support to:
...
3733. [func] Improve interface scanning support. Interface
information will be automatically updated if the
OS supports routing sockets (MacOS, *BSD, Linux).
Use "automatic-interface-scan no;" to disable.
Add "rndc scan" to trigger a scan. [RT #23027 ]
2014-02-10 09:46:54 +11:00
Mark Andrews
6a47daef7e
#ifdef PF_ROUTE
2014-02-07 20:36:48 +11:00
Mark Andrews
62ec9fd168
3733. [func] Improve interface scanning support. Interface
...
information will be automatically updated if the
OS supports routing sockets. Use
"automatic-interface-scan no;" to disable.
Add "rndc scan" to trigger a scan. [RT #23027 ]
2014-02-07 17:16:37 +11:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
6100b17699
3662. [bug] 'host' could die if a UPD query timed out. [RT #34870 ]
2013-10-25 10:09:33 +11:00