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
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