---
The script in test/create-proxy-config can't test this. Not before I hacked it
anyway.
src/proxy.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/proxy.c b/src/proxy.c
index 717c637..8fa0b8a 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -154,6 +154,13 @@ int pacrunner_proxy_set_direct(struct pacrunner_proxy
*proxy)
if (proxy == NULL)
return -EINVAL;
+ g_mutex_lock(proxy_mutex);
+ if (proxy_updating == -1) {
+ proxy_updating = 0;
+ g_cond_broadcast(proxy_cond);
+ }
+ g_mutex_unlock(proxy_mutex);
+
return set_method(proxy, PACRUNNER_PROXY_METHOD_DIRECT);
}
--
1.7.3.3
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman