+#if HTTP_CURL_VERSION(7,19,4)
+ if (CURLE_OK == curl_easy_getinfo(request->ch, CURLINFO_CONDITION_UNMET, &l)) {
+ add_assoc_long_ex(&array, "condition_unmet", sizeof("condition_unmet"), l);
+ }
+#endif
+#if HTTP_CURL_VERSION(7,21,0)
+ if (CURLE_OK == curl_easy_getinfo(request->ch, CURLINFO_PRIMARY_PORT, &l)) {
+ add_assoc_long_ex(&array, "primary_port", sizeof("primary_port"), l);
+ }
+#endif
+#if HTTP_CURL_VERSION(7,21,0)
+ if (CURLE_OK == curl_easy_getinfo(request->ch, CURLINFO_LOCAL_IP, &c)) {
+ add_assoc_string_ex(&array, "local_ip", sizeof("local_ip"), c ? c : "", 1);
+ }
+#endif
+#if HTTP_CURL_VERSION(7,21,0)
+ if (CURLE_OK == curl_easy_getinfo(request->ch, CURLINFO_LOCAL_PORT, &l)) {
+ add_assoc_long_ex(&array, "local_port", sizeof("local_port"), l);
+ }
+#endif
+/* END */