mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 08:19:31 -06:00
fix after the patch in http-slim
This commit is contained in:
@@ -359,9 +359,9 @@ pgfDownload conn query (t,pgf) = do
|
||||
where
|
||||
writeChunk conn ptr len =
|
||||
(do writeAscii conn (showHex len "\r\n")
|
||||
n <- writeBytes conn ptr len
|
||||
writeBytes conn ptr len
|
||||
writeAscii conn "\r\n"
|
||||
return n)
|
||||
return len)
|
||||
`catch`
|
||||
(\(e :: SomeException) -> return (-1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user