diff options
Diffstat (limited to 'src/pkg/rpc/client.go')
| -rw-r--r-- | src/pkg/rpc/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/rpc/client.go b/src/pkg/rpc/client.go index 673283be3..153c56d83 100644 --- a/src/pkg/rpc/client.go +++ b/src/pkg/rpc/client.go @@ -126,7 +126,7 @@ func DialHTTP(network, address string) (*Client, os.Error) { // Require successful HTTP response // before switching to RPC protocol. - resp, err := http.ReadResponse(bufio.NewReader(conn)) + resp, err := http.ReadResponse(bufio.NewReader(conn), "CONNECT") if err == nil && resp.Status == connected { return NewClient(conn), nil } |
