Re: Patch: avoid infinite loop on PRPoll call in camel tcp stream ssl if connection times out.



José Dapena Paz escribiu:
> 	Hi,
> 
> 	This patch fixes the problem that happened when a connection using tcp
> stream ssl (the nss based one) got continuous timeouts and never
> finished the loop. This caused effective hangs on getting network down,
> but without explicit disconnection from network.
> 
> Changelog entry:
>     * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c: on calls to
>       PR_Poll with a timeout, we didn't take into account properly the case
>       we reached the timeout, and it could be creating infinite loops if
>       connection failed but didn't die.

Patch seems good to me Dape. Really good catch.

Br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]