samalba / dockerclient

Docker client library in Go
http://www.docker.com/
Apache License 2.0
320 stars 140 forks source link

Support user timeout in dockerclient #217

Closed dongluochen closed 8 years ago

dongluochen commented 8 years ago

TCP_USER_TIMEOUT is a system function to detect dead peer from sender's side. We don't want to introduce cgo or Godep in dockerclient. The caller provides function to set this value. Systems doesn't support TCP_USER_TIMEOUT or its equivalent can pass nil.
Signed-off-by: Dong Chen dongluo.chen@docker.com

vieux commented 8 years ago

LGTM

abronan commented 8 years ago

LGTM