From e481273ff4bb9ec73f93e204696cb71c40e370e3 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 11 May 2018 13:20:08 +0200 Subject: [PATCH] Last minute update --- ChangeLog | 4 ++++ project-doc/packages.txt | 3 +++ src/stub.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52a04b0b..290372a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ * 2018-05-11: Version 1.4.2 + * Bugfix getdnsapi/stubby#87: Detect and ignore duplicate certs + in the Windows root CA store. + * PR #397: No TCP sendto without TCP_FASTOPEN + Thanks Emery Hemingway * Bugfix getdnsapi/stubby#106: Core dump when printing certain configuration. Thanks Han Vinke * Bugfix getdnsapi/stubby#99: Partly trace DNSSEC from the root diff --git a/project-doc/packages.txt b/project-doc/packages.txt index 3544c9ee..7e40a201 100644 --- a/project-doc/packages.txt +++ b/project-doc/packages.txt @@ -12,3 +12,6 @@ https://github.com/openwrt/packages/tree/master/net/stubby For AstLinux Project, created and maintained by Lonnie Abelbeck (abelbeck) https://github.com/astlinux-project/astlinux/tree/master/package/getdns + +For Genode, created and maintained by Emery Hemingway (ehmry) +https://github.com/genodelabs/genode/blob/master/repos/ports/ports/getdns.port diff --git a/src/stub.c b/src/stub.c index 0a18bd37..785d9f1f 100644 --- a/src/stub.c +++ b/src/stub.c @@ -760,7 +760,7 @@ stub_tcp_write(int fd, getdns_tcp_state *tcp, getdns_network_req *netreq) if (written == -1 && _getdns_socketerror() == _getdns_EISCONN) written = write(fd, netreq->query - 2, pkt_len + 2); #else - written = write(fd, netreq->query - 2, pkt_len + 2); + written = send(fd, (const char *)(netreq->query - 2), pkt_len + 2, 0); #endif if ((written == -1 && _getdns_socketerror_wants_retry()) || (size_t)written < pkt_len + 2) {