In my VPN client (Linux), I have activated the kill switch feature so if VPN disconnects, internet connection is blocked.
When I start downloading a file like:
let opts =
defaults
& param "param1" .~ "foo"
-- other params.
resp <- getWith opts "https://url.baz/to/get/endpoint"
(using wreq-0.5.4.3 which is using http-client underneath I believe)
- During download, I disconnect VPN. I'm expecting timeout.
- No timeout happens. I waited over 30 minutes. It's infinite hanged.
- Even after I connect VPN and rest of system (e.g. browser) gets the internet connection back, the infinite hang in Haskell program continues (download doesn't continue).
Any ideas on this?
In my VPN client (Linux), I have activated the kill switch feature so if VPN disconnects, internet connection is blocked.
When I start downloading a file like:
(using wreq-0.5.4.3 which is using http-client underneath I believe)
Any ideas on this?