* Adding handle: conn: 0x1cf8f30
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x1cf8f30) send_pipe: 1, recv_pipe: 0
* Trying 188.132.200.243...
> GET / HTTP/1.1
> User-Agent: curl/7.31.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html; charset=UTF-8
* Server Microsoft-IIS/8.0 is not blacklisted
< Server: Microsoft-IIS/8.0
< Date: Wed, 21 Jan 2015 21:59:01 GMT
< Content-Length: 147
<
<head><title>Document Moved</title></head>
When I request with go http client (
https://play.golang.org/p/151uzXYOfh), I get a 'connection reset by peer' error:
I took a look at the wireshark capture, doesn't seem to be any significant difference in responses.
My guess is something to do with
bobiler.org's behavior after finishing the http response doesn't agree with the go client's implementation of HTTP, but I can't nail it down. Not sure if this is a Microsoft IIS 8.0 issue, or something custom on
bobiler.org's end.
Does anyone have any insight? Is there something I can play with in the http package or another go package to fix this?