Fix typo in comment.

Change-Id: Ib3ee493bb29e7e9967214627e543baedb897ab67
This commit is contained in:
Bjoern Rabenstein 2014-11-12 14:00:34 +01:00
parent 74c143c4c9
commit 371445f4da

View file

@ -24,7 +24,7 @@ import (
func NewDeadlineClient(timeout time.Duration) *http.Client { func NewDeadlineClient(timeout time.Duration) *http.Client {
return &http.Client{ return &http.Client{
Transport: &http.Transport{ Transport: &http.Transport{
// We need to disable keepalive, becasue we set a deadline on the // We need to disable keepalive, because we set a deadline on the
// underlying connection. // underlying connection.
DisableKeepAlives: true, DisableKeepAlives: true,
Dial: func(netw, addr string) (c net.Conn, err error) { Dial: func(netw, addr string) (c net.Conn, err error) {