http-client 0.4.11 → 0.4.11.1
raw patch · 3 files changed
+9/−2 lines, 3 filesdep ~clockPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: clock
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Network/HTTP/Client/Util.hs +4/−1
- http-client.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.4.11.1++* Disable custom timeout code [#116](https://github.com/snoyberg/http-client/issues/116)+ ## 0.4.11 * Ignore the 'Content-Length' header if the body contains chunked data [#115](https://github.com/snoyberg/http-client/pull/115)
Network/HTTP/Client/Util.hs view
@@ -27,7 +27,7 @@ import qualified Data.Text as T import qualified Data.Text.Read---import System.Timeout (timeout)+import System.Timeout (timeout) import System.Clock import System.IO.Unsafe (unsafePerformIO)@@ -141,6 +141,8 @@ | otherwise = spawnWorker man in ((hs', isCleaning), action) +-- Disabling the custom timeout code for now. See: https://github.com/snoyberg/http-client/issues/116+{- -- | Has same semantics as @System.Timeout.timeout@, but implemented in such a -- way to avoid high-concurrency contention issues. See: --@@ -171,3 +173,4 @@ data TimeoutTriggered = TimeoutTriggered deriving (Show, Typeable) instance Exception TimeoutTriggered+-}
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.4.11+version: 0.4.11.1 synopsis: An HTTP client engine, intended as a base layer for more user-friendly packages. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>. homepage: https://github.com/snoyberg/http-client