]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/ResponseWriter.hs
"driftTo Done" was trying to change the response header, which is impossible.
[Lucu.git] / Network / HTTP / Lucu / ResponseWriter.hs
index 71309746f07e9fb294e9bcc22faaec8ef47dbc54..6ccc2864c8e984c06f266326d212b3ee340a40a6 100644 (file)
@@ -116,7 +116,7 @@ responseWriter cnf h tQueue readerTID
       writeHeader itr
           = do res <- atomically $ do writeItr itr itrWroteHeader True
                                       readItr itr itrResponse id
-               hPutResponse h (fromJust res)
+               hPutResponse h res
                hFlush h
                awaitSomethingToWrite