Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
internal/poll: Write, Pwrite, WriteTo and WriteMsg have different error semantics #19073
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
If we went with option 2, then
Can be rewritten to
I think there is value in pursuing this.
As far as I can see, the internal/poll package is correctly reflecting the semantics that were implemented for
I think it is clear that we can not change the behavior of
The upshot is that all the functions correctly report the number of bytes written on error. It happens that for
I don't think there is anything to change.