Potential correction: #274

This commit is contained in:
Michael Snoyman 2014-08-06 18:08:50 +03:00
parent cbd66de684
commit e3b8aaefeb
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ push src (THStatus len lines prepend) bs'
-- update the length, and continue processing.
push' Nothing = do
bst <- readSource' src
when (S.null bs) $ throwIO IncompleteHeaders
when (S.null bst) $ throwIO IncompleteHeaders
push src status bst
where
len' = len + bsLen

View File

@ -1,5 +1,5 @@
Name: warp
Version: 3.0.0.6
Version: 3.0.0.7
Synopsis: A fast, light-weight web server for WAI applications.
License: MIT
License-file: LICENSE