X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FResponseWriter.hs;h=b4809eaa52e4d975b4afc16b8300a396ed85fe70;hp=25f2ffbead481571c609fcd221d877390a6031d5;hb=9ed4b7476710930bb537c71d0c2341d7ea331767;hpb=1b822bc79ce9fd0ee537fe81819e7501af83f7bd diff --git a/Network/HTTP/Lucu/ResponseWriter.hs b/Network/HTTP/Lucu/ResponseWriter.hs index 25f2ffb..b4809ea 100644 --- a/Network/HTTP/Lucu/ResponseWriter.hs +++ b/Network/HTTP/Lucu/ResponseWriter.hs @@ -40,7 +40,6 @@ responseWriter cnf h tQueue readerTID `catches` [ Handler handleIOE , Handler handleAsyncE - , Handler handleBIOS , Handler handleOthers ] `finally` @@ -56,15 +55,12 @@ responseWriter cnf h tQueue readerTID handleAsyncE ThreadKilled = return () handleAsyncE e = dump e - handleBIOS ∷ BlockedIndefinitelyOnSTM → IO () - handleBIOS = dump - handleOthers ∷ SomeException → IO () handleOthers = dump dump ∷ Exception e ⇒ e → IO () dump e - = do hPutStrLn stderr "requestWriter caught an exception:" + = do hPutStrLn stderr "Lucu: responseWriter caught an exception:" hPutStrLn stderr $ show e awaitSomethingToWrite ∷ HandleLike h ⇒ Context h → IO ()