I appended these after httpclient.nim:865(when client is HttpClient):
    
    
        when client is HttpClient:
          echo("httpclient.nim/newConnection")
          echo("CU:", $connectionUrl)
          echo("HN:", connectionUrl.hostname)
          echo("Port0:", connectionUrl.port == "")
          echo("Port:" & $port)
          client.socket = await net.dial(connectionUrl.hostname, port)
    
    
    Run

and this is what I got:
    
    
    httpclient.nim/newConnection
    CU:(scheme: "http", username: "", password: "", hostname: "<IP>", port: 
"8080", path: "", query: "", anchor: "", opaque: false)
    HN:
    Port:80
    
    
    Run

This doesn't make any sense.

Reply via email to