Skip to content
#

procedural

Here are 272 public repositories matching this topic...

Nim
TRcorp
TRcorp commented Jun 25, 2020
### Example
let unreachableProxy = "http://127.0.0.1:8888"
try:
  let client = newHttpClient(proxy=newProxy(unreachableProxy), timeout=1)
  var res = client.getContent("https://github.com")
  echo res
except:
  echo "Timed out"

Current Output

timeout variable is ignored, program stuck until default socket timeout will happen

Expected Output

Timed out a

Improve this page

Add a description, image, and links to the procedural topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the procedural topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.