diff options
author | Nikias Bassen | 2017-07-10 02:58:45 +0200 |
---|---|---|
committer | Nikias Bassen | 2017-07-10 02:58:45 +0200 |
commit | b546ef8938088b1e7fb045e0c49b3611737aef48 (patch) | |
tree | 772343ebcbea8aad20a1b5dbddb7083687f1db26 | |
parent | cb265d074a6b5c7eacd7c974094763570c7e4581 (diff) | |
download | libideviceactivation-b546ef8938088b1e7fb045e0c49b3611737aef48.tar.gz libideviceactivation-b546ef8938088b1e7fb045e0c49b3611737aef48.tar.bz2 |
activation: Close connection after completing request
-rw-r--r-- | src/activation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/activation.c b/src/activation.c index c4cd896..adc5897 100644 --- a/src/activation.c +++ b/src/activation.c @@ -1223,6 +1223,7 @@ IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_send_reques curl_easy_setopt(handle, CURLOPT_HEADERDATA, tmp_response); curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, &idevice_activation_header_callback); curl_easy_setopt(handle, CURLOPT_URL, request->url); + curl_easy_setopt(handle, CURLOPT_FORBID_REUSE, 1); // enable communication debugging if (debug_level > 0) { |