bind9/lib
Ondřej Surý 5547657bce Fix the way tcp_send_direct() is used
There were two problems how tcp_send_direct() was used:

1. The tcp_send_direct() can return ISC_R_CANCELED (or translated error
   from uv_tcp_send()), but the isc__nm_async_tcpsend() wasn't checking
   the error code and not releasing the uvreq in case of an error.

2. In isc__nm_tcp_send(), when the TCP send is already in the right
   netthread, it uses tcp_send_direct() to send the TCP packet right
   away.  When that happened the uvreq was not freed, and the error code
   was returned to the caller.  We need to return ISC_R_SUCCESS and
   rather use the callback to report an error in such case.

(cherry picked from commit 6af08d1ca6)
2020-10-22 14:59:01 -07:00
..
bind9 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
dns prep 9.16.8 2020-10-22 09:09:07 +02:00
irs update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
isc Fix the way tcp_send_direct() is used 2020-10-22 14:59:01 -07:00
isccc update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
isccfg prep 9.16.7 2020-09-16 22:50:38 +02:00
ns prep 9.16.8 2020-10-22 09:09:07 +02:00
samples The dns_message_create() cannot fail, change the return to void 2020-09-30 14:26:26 +02:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00