summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_dialer_http.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-25 15:13:22 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 15:14:31 -0400
commit0e40fad4466a60238438c131b3331319c38c694b (patch)
tree66c967a94609817b04ce44ad0c82bdc9024c6bed /src/lib/ecore_con/efl_net_dialer_http.c
parent1e47db6a711a1f605bc765cb694d575af28ab85e (diff)
ecore_con: make dns resolver thread stop blocking when canceled
Summary: if the user or system attempts to cancel this thread then it should stop blocking and exit in order to avoid potentially exiting after efl has expected ecore-con to stop being active @fix fix T7041 Depends on D6354 Reviewers: ManMower, devilhorns Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7041 Differential Revision: https://phab.enlightenment.org/D6355
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_http.c b/src/lib/ecore_con/efl_net_dialer_http.c
index df1fedf61e..f1f18a0c7a 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.c
+++ b/src/lib/ecore_con/efl_net_dialer_http.c
@@ -1226,10 +1226,10 @@ typedef struct _Efl_Net_Dialer_Http_Libproxy_Context {
1226} Efl_Net_Dialer_Http_Libproxy_Context; 1226} Efl_Net_Dialer_Http_Libproxy_Context;
1227 1227
1228static void 1228static void
1229_efl_net_dialer_http_libproxy_run(void *data, Ecore_Thread *thread EINA_UNUSED) 1229_efl_net_dialer_http_libproxy_run(void *data, Ecore_Thread *thread)
1230{ 1230{
1231 Efl_Net_Dialer_Http_Libproxy_Context *ctx = data; 1231 Efl_Net_Dialer_Http_Libproxy_Context *ctx = data;
1232 char **proxies = ecore_con_libproxy_proxies_get(ctx->url); 1232 char **proxies = ecore_con_libproxy_proxies_get(ctx->url, thread);
1233 char **itr; 1233 char **itr;
1234 1234
1235 if (!proxies) return; 1235 if (!proxies) return;