Re: Patch: avoid infinite loop on PRPoll call in camel tcp stream ssl if connection times out.
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Re: Patch: avoid infinite loop on PRPoll call in camel tcp stream ssl if connection times out.
- Date: Tue, 18 Aug 2009 12:26:07 +0200
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]