haskell/network — pull request #152 by glguy (2014-12-05 17:54:42+00:00)
Title: Fix 'firstSuccessful' recursion inside mask

Asynchronous exceptions are masked inside
the exception handler of catch. This patch
rewrites firstSuccessful to run actions
after the first attempt outside of the
masked continuation.