ekam icon indicating copy to clipboard operation
ekam copied to clipboard

build runs kj/compat/http-test which appears to reach out to the internet

Open abliss opened this issue 8 years ago • 2 comments

I was building behind a firewall, so this eventually timed out and failed, and it looks like the build succeeded anyway, but it took a long time. The IP address it was trying to reach was the one shared by capnproto.org and sandstorm.io.

abliss avatar Mar 11 '17 00:03 abliss

Dang, I carefully wrote the test such that if the DNS lookup or connection failed, it would skip the test, but I didn't account for a network that succeeds at DNS lookup but then silently drops packets. I suppose I could add a timeout.

kentonv avatar Mar 12 '17 03:03 kentonv

(All it is doing is an HTTP GET to test the HTTP client code against a real server. In theory I should, like, bundle a real HTTP server into the test in order to do this hermetically, but...)

kentonv avatar Mar 12 '17 03:03 kentonv