You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've played around with this a bit locally to try to see what makes sense, and I will send a draft CL with my proposed API and a single test. The basic idea is to mirror what TestConn is doing, and perhaps the two can share a fair bit of internal code.
I still need to process long-standing CLs and that's one of them, sorry for my laziness. Basically, making x/net/nettest useful sounds nice because we are entering the modular era; vendoring x/net/nettest could deduplicate the test harnesses in the package net of the standard library.
I'm currently implementing my own
net.Listener
(see also #30984 and #31033), https://godoc.org/github.com/mdlayher/vsock#Listener, and would like to ensure it is in full compliance with thenet.Listener
contract; that is:net.Listener
, see proposal: net: add SetDeadline to Listener interface #6892) and verify that an expired deadline unblocks Accept as well (this idea is in line with what I propose with x/net/nettest: extend TestConn with optional interface checks #31033)I've played around with this a bit locally to try to see what makes sense, and I will send a draft CL with my proposed API and a single test. The basic idea is to mirror what
TestConn
is doing, and perhaps the two can share a fair bit of internal code./cc @dsnet @mikioh @acln0
The text was updated successfully, but these errors were encountered: