I didn't have any nameservers other than 192.168.0.1. I did try debugging it 
but I hit a bit of a roadblock. The problem seems to be in net.dial (called 
here: 
[https://github.com/nim-lang/Nim/blob/devel/lib/pure/httpclient.nim#L928)](https://github.com/nim-lang/Nim/blob/devel/lib/pure/httpclient.nim#L928\)).
 Sadly I could not "debug" the net module, I tried downloading it from 
[https://github.com/nim-lang/Nim/blob/devel/lib/pure/net.nim](https://github.com/nim-lang/Nim/blob/devel/lib/pure/net.nim).
 But whenever I try to import it, it errors: 
    
    
    /home/kaletaa/Stuff/nim/performanceTest/localHttpClient.nim(960, 28) Error: 
type mismatch: got <localNet.SslContext, asyncnet.AsyncSocket, 
localNet.SslHandshakeType, system.string>
    but expected one of:
    proc wrapConnectedSocket(ctx: SslContext; socket: Socket;
                            handshake: SslHandshakeType; hostname: string = "")
      first type mismatch at position: 2
      required type: Socket
      but expression 'client.socket' is of type: AsyncSocket
    1 other mismatching symbols have been suppressed; compile with 
--showAllMismatches:on to see them
    
    expression: wrapConnectedSocket(client.sslContext, client.socket, 
handshakeAsClient,
                        connectionUrl.hostname)
    
    
    Run

Reply via email to