Skip to content

VPN kill switch, causing infinite hang of download #541

Description

@stuser81

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions