[Pkg-haskell-maintainers] Bug#737902: anaylsis and fixes

Joey Hess joeyh at debian.org
Sat Feb 8 00:48:12 UTC 2014


<joeyh> Clint: I found the cause of the problem...
<joeyh> in davRequest, it tries an unauthenticated connection, with a catchJust 401 that then tries an authed connection
<joeyh> for some reason, after the 1st failure, the manager stops working
<joeyh> changed it to start with the authed connection and that seemed to work, at least for a simple put
<joeyh> my guess is that Managers are not able to handle failure. Which seems pretty bad if so
<joeyh> hmm, there's a  managerRetryableException that controls how the manager handles an exception... somehow

I tried different managerRetryableException settings without any luck. It
doesn't seem possible to make the Manager not close the connection on auth
error. (How Managers are supposed to be shared amoung threads if they're this
fragile, I don't know!)

So, I suggest the attached patch.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-for-fragile-Manager.patch
Type: text/x-diff
Size: 1483 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140207/925bc8fc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140207/925bc8fc/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list