Add find proxy to call pacrunner

Marcel Holtmann marcel at
Thu Jan 6 13:28:09 PST 2011

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.



More information about the connman mailing list