Re: [go-nuts] Re: http.Client stops working after connected to VPN

2016-11-18 Thread Diep Pham
Tamás Gulácsi wrote: > In this casee you should just retry: the VPN transition may mean that > the previously resolved DNS address of google.com has changed, or the > whole routing has changed, and you have to start over. Well, the program do many sequential HTTP calls. I guess I will have to wrap

[go-nuts] Re: http.Client stops working after connected to VPN

2016-11-18 Thread Tamás Gulácsi
2016. november 18., péntek 12:25:15 UTC+1 időpontban Diep Pham a következőt írta: > > Tamás Gulácsi wrote: > > Either allow accessing google.com through the VPN, or configure the > > network to only "use the resources" on the VPN, do not forward all > > traffic through it. > > Maybe I didn't

[go-nuts] Re: http.Client stops working after connected to VPN

2016-11-18 Thread Diep Pham
Tamás Gulácsi wrote: > Either allow accessing google.com through the VPN, or configure the > network to only "use the resources" on the VPN, do not forward all > traffic through it. Maybe I didn't describe the problem clearly. VPN configuration is OK, I can connect to Google normally. Only the HTT

[go-nuts] Re: http.Client stops working after connected to VPN

2016-11-18 Thread Tamás Gulácsi
2016. november 17., csütörtök 15:52:54 UTC+1 időpontban Diep Pham a következőt írta: > > I have a program that periodically does a HTTP GET. The simplified codes > looks like that. > > ``` > package main > > import ( > "log" > "net/http" > "testing" > "tim