Closed tanner0101 closed 8 years ago
Socks should expose a way to configure the SO_RCVTIMEO and SO_SNDTIMEO.
SO_RCVTIMEO
SO_SNDTIMEO
This will allow us to conform to the C7 spec:
public func send(_ data: Data, timingOut deadline: Double) throws
And it will help frameworks using Socks to avoid memory leaks from dead connections that never close.
Related to #30.
Agreed, I'll investigate and report back.
Notes: http://linux.die.net/man/7/socket
Socks should expose a way to configure the
SO_RCVTIMEO
andSO_SNDTIMEO
.This will allow us to conform to the C7 spec:
And it will help frameworks using Socks to avoid memory leaks from dead connections that never close.