# HG changeset patch # User Olaf Wintermann # Date 1444923881 -7200 # Node ID cd9f1e772fd0019f0989719bb64985a3f7578c82 # Parent 254326cbc1bcb2a109bda0ee1857835213e68bbc cleanup curl header options in do_propfind_request diff -r 254326cbc1bc -r cd9f1e772fd0 libidav/methods.c --- a/libidav/methods.c Thu Oct 15 16:16:44 2015 +0200 +++ b/libidav/methods.c Thu Oct 15 17:44:41 2015 +0200 @@ -106,6 +106,9 @@ ucx_map_free_content(respheaders, free); ucx_map_free(respheaders); + curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, NULL); + curl_easy_setopt(handle, CURLOPT_HEADERDATA, NULL); + return ret; }