Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Conn.Close doesn't unblock Conn.Read on nacl #17695
It appears that on nacl, a net.Conn.Close (on a "TCP" localhost conn) doesn't unblock a pending Conn.Read.
I thought we had a test for this and it worked, but I'm probably remembering a similar case instead.
Add a test & fix.
Failing higher-level test (skipped for now) is in net/http's TestServerSetKeepAlivesEnabledClosesConns.
Low priority (nacl).