1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:04:44 -07:00

http: remove debugging log statement

Issue 1547 is fixed.

R=bradfitzgo, r
CC=golang-dev
https://golang.org/cl/4209045
This commit is contained in:
Russ Cox 2011-02-24 14:36:18 -05:00
parent c9021a1afe
commit 4185a9e2b2

View File

@ -9,7 +9,6 @@ import (
"crypto/tls" "crypto/tls"
"encoding/base64" "encoding/base64"
"fmt" "fmt"
"log"
"net" "net"
"os" "os"
"strings" "strings"
@ -77,9 +76,7 @@ func (ct *transport) Do(req *Request) (resp *Response, err os.Error) {
} }
// Connect to server or proxy // Connect to server or proxy
log.Printf("Temporary necessary log statement to work around http://code.google.com/p/go/issues/detail?id=1547")
conn, err := net.Dial("tcp", "", addr) conn, err := net.Dial("tcp", "", addr)
log.Printf("Temporary necessary log statement to work around http://code.google.com/p/go/issues/detail?id=1547")
if err != nil { if err != nil {
return nil, err return nil, err
} }