Hi Mohamed,

> I am looking at proxy patched to resubmit them I just have a question
> in some code in src/proxy.c in function connman_proxy_lookup
> we are creating timer then calling find proxy from the timer callback.
> Is this timer really needed? Why I can not call pacrunner from
> connman_proxy_lookup function?

remember that we are single threaded and we wanna ensure the return the
token back to the caller before calling the lookup function. Otherwise
your callback functions gets called before we have the token assigned
and can not be canceled.

Regards

Marcel


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to