From cf78e8b01107b889803369576a830a5048d9e31f Mon Sep 17 00:00:00 2001 From: paulehoffman Date: Tue, 10 Jun 2014 11:33:40 -0700 Subject: [PATCH] Timed-out responses getting dicts in response --- spec/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/index.html b/spec/index.html index b679de2d..7b1f680d 100644 --- a/spec/index.html +++ b/spec/index.html @@ -92,7 +92,7 @@ tr.code { font-family: monospace }

Description of the getdns API

Paul Hoffman, Editor

-

Document version: "getdns February 2014"

+

Document version: "getdns June 2014"

This document describes a modern asynchronous DNS API. This new API is intended to be useful to application developers and operating system distributors as a way of making @@ -305,7 +305,7 @@ The application is responsible for cleaning up the response object with getdns_d

GETDNS_CALLBACK_CANCEL

The calling program cancelled the callback; response is NULL

GETDNS_CALLBACK_TIMEOUT

-

The requested action timed out; response is NULL

+

The requested action timed out; response is filled in with empty structures

GETDNS_CALLBACK_ERROR

The requested action had an error; response is NULL

@@ -442,7 +442,7 @@ at its leisure.

1.9 Calling the API Synchronously (Without Events)

-

Thare are functions parallel to the four getdns async functions, +

There are functions parallel to the four getdns async functions, except that there is no callback. That is, when an application calls one of these synchronous functions, the API gathers all the required information and then returns the result. The value returned is exactly the