Compare commits

...

4 Commits

Author SHA1 Message Date
Mark Andrews
ecd1b8f348 9.9.5-W1 2014-02-06 10:34:31 +11:00
Mark Andrews
cb1983f94f #include <inttypes.h>
(cherry picked from commit 1e3d792c8e)
2014-02-05 12:50:09 +11:00
Evan Hunt
762ef7e52e [v9_8] add stdint.h
(cherry picked from commit 3b141b7d18)
2014-02-05 12:49:55 +11:00
Evan Hunt
6a447dc272 [master] fixed win32 dig problem
3724.   [bug]           win32: Fixed a bug that prevented dig and
                        host from exiting properly after completing
                        a UDP query. [RT #35288]

(cherry picked from commit a8cdf2a2e7)
2014-02-05 12:43:40 +11:00
4 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
--- 9.9.5-W1 released ---
3724. [bug] win32: Fixed a bug that prevented dig and
host from exiting properly after completing
a UDP query. [RT #35288]
--- 9.9.5 released ---
--- 9.9.5rc2 released ---

View File

@@ -1395,7 +1395,7 @@ startio_send(isc_socket_t *sock, isc_socketevent_t *dev, int *nbytes,
*nbytes = internal_sendmsg(sock, lpo, msghdr, 0, send_errno);
if (*nbytes < 0) {
if (*nbytes <= 0) {
/*
* I/O has been initiated
* completion will be through the completion port
@@ -2994,13 +2994,14 @@ socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
io_state = startio_send(sock, dev, &cc, &send_errno);
switch (io_state) {
case DOIO_PENDING: /* I/O started. Nothing more to do */
case DOIO_PENDING: /* I/O started. Enqueue completion event. */
case DOIO_SOFT:
/*
* We couldn't send all or part of the request right now, so
* queue it unless ISC_SOCKFLAG_NORETRY is set.
*/
if ((flags & ISC_SOCKFLAG_NORETRY) == 0) {
if ((flags & ISC_SOCKFLAG_NORETRY) == 0 ||
io_state == DOIO_PENDING) {
isc_task_attach(task, &ntask);
dev->attributes |= ISC_SOCKEVENTATTR_ATTACHED;

View File

@@ -153,6 +153,9 @@
#include <errno.h>
#include <string.h>
#ifdef HAVE_INTTYPES_H
#include <inttypes.h> /* uintptr_t */
#endif
#include <lwres/net.h>
#include <lwres/netdb.h>

View File

@@ -8,6 +8,6 @@ DESCRIPTION="(Extended Support Version)"
MAJORVER=9
MINORVER=9
PATCHVER=5
RELEASETYPE=
RELEASEVER=
RELEASETYPE=-W
RELEASEVER=1
EXTENSIONS=