SetWriteDeadline of tls.Conn describes "A zero value for t means Write will not
time out. After a Write has timed out, the TLS state is corrupt and all future writes
will return the same error." but the returned value on timeout is marked Temporary
and it may be confusing.
A suggestion: https://groups.google.com/d/msg/golang-nuts/UChb8wv6gvA/9R_g4ScTMiYJ
The text was updated successfully, but these errors were encountered:
The description in this issue is somewhat confusing.
Hm, I have never imagined it's confusing.
What is exactly proposed here?
My understanding from the discussion at golang-nuts is that the returned error value from tls.Conn should not be marked/colored "Temporary" when the underlying facilities are unable to provide communication functionality anymore.
In other words, a returned error value should represent the error, the definition is slightly different between SDOs, let's say it's "an incorrect internal state" here, precisely as much as possible for fault localization.
Feedback is required from experts, contributors, and/or the community before a change can be made.
Issue is not actionable because of missing required information, which needs to be provided.
Jan 7, 2020