Updated default timeout for operations through proxy

Aleksander Morgado aleksander at aleksander.es
Sat May 24 04:42:36 PDT 2014


Hey,

I just found out that the default timeout for operations going through
the proxy was 10s by default; which meant that any operation taking
longer than 10s would just get timed out in the client side (as
per-command timeout values set in the client are not forwarded to the
proxy)... huge issue :/

I updated the value to a much bigger one now, 300s, which means that
the proxy may still keep track of ongoing requests even if the client
already handled a timeout itself, but that is better than actually
losing the reply in the proxy while the client is still waiting for
it. This is now pushed to git master, and should probably roll out a
new release in the following weeks in order to get this distributed.

Still, having a hardcoded default doesn't sound right, so I'll try to
setup a way to pass the client-provided timeout value to the proxy.

Cheers!

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list