pkg/transport: fix minor typo

release-3.1
Gyu-Ho Lee 2016-08-04 16:00:18 -07:00
parent c46955b60a
commit c38f0290a7
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func NewTimeoutTransport(info TLSInfo, dialtimeoutd, rdtimeoutd, wtimeoutd time.
// it should not be put back to http transport as an idle connection for future usage.
tr.MaxIdleConnsPerHost = -1
} else {
// allow more idle connections between peers to avoid unncessary port allocation.
// allow more idle connections between peers to avoid unnecessary port allocation.
tr.MaxIdleConnsPerHost = 1024
}