Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPN kill switch, causing infinite hang of download #541

Open
stuser81 opened this issue Jul 9, 2024 · 0 comments
Open

VPN kill switch, causing infinite hang of download #541

stuser81 opened this issue Jul 9, 2024 · 0 comments

Comments

@stuser81
Copy link

stuser81 commented Jul 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant