]> Cypherpunks repositories - gostls13.git/commitdiff
http: remove debugging log statement
authorRuss Cox <rsc@golang.org>
Thu, 24 Feb 2011 19:36:18 +0000 (14:36 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 24 Feb 2011 19:36:18 +0000 (14:36 -0500)
Issue 1547 is fixed.

R=bradfitzgo, r
CC=golang-dev
https://golang.org/cl/4209045

src/pkg/http/transport.go

index 7f61962c2f1218a09f97c43e96e9a5a67021785f..41d639c7e2feca508cc36c2eb3570ed20c4e9888 100644 (file)
@@ -9,7 +9,6 @@ import (
        "crypto/tls"
        "encoding/base64"
        "fmt"
-       "log"
        "net"
        "os"
        "strings"
@@ -77,9 +76,7 @@ func (ct *transport) Do(req *Request) (resp *Response, err os.Error) {
        }
 
        // 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)
-       log.Printf("Temporary necessary log statement to work around http://code.google.com/p/go/issues/detail?id=1547")
        if err != nil {
                return nil, err
        }