aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-11 21:47:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-11 21:47:14 +0000
commit002cf105c6779ecf66acb36ba86aa415b8b98b09 (patch)
treedefd4aa636c848dccfabb0290cd33ba9c3085696 /include
parentfb8fdf92732dbd664c1a32305987cc1e0938e27d (diff)
- CURLINFO_CONDITION_UNMET was added to allow an application to get to know if
the condition in the previous request was unmet. This is typically a time condition set with CURLOPT_TIMECONDITION and was previously not possible to reliably figure out. From bug report #2565128 (http://curl.haxx.se/bug/view.cgi?id=2565128)
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index a5d5deec7..3cbf69f7c 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1592,9 +1592,10 @@ typedef enum {
CURLINFO_PRIMARY_IP = CURLINFO_STRING + 32,
CURLINFO_APPCONNECT_TIME = CURLINFO_DOUBLE + 33,
CURLINFO_CERTINFO = CURLINFO_SLIST + 34,
+ CURLINFO_CONDITION_UNMET = CURLINFO_LONG + 35,
/* Fill in new entries below here! */
- CURLINFO_LASTONE = 34
+ CURLINFO_LASTONE = 35
} CURLINFO;
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as