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 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] http.Client stops working after connected to VPN

2016-11-17 Thread Diep Pham
I have a program that periodically does a HTTP GET. The simplified codes looks like that. ``` package main import ( "log" "net/http" "testing" "time" ) func TestPlay(t *testing.T) { for { log.Println("starting request") // I

Re: [go-nuts] [ANN] - BoltHold - An embeddable NOSQL store for Go Types built on BoltDB

2016-11-17 Thread Diep Pham
This looks very interesting. How does it compare to https://github.com/asdine/storm? Tim Shannon wrote: > I've used BoltDB in a quite a few > projects, and have found it to be fast and very reliable. But I've > found that I was writing the same serialization and f