I created a TCP Proxy using io.copy (which creates a splice). Here is the code.
When using telent to port 8080, the proxy starts and everything typed in the telnet will be returned. After 10 seconds, the connection drop to the proxy but you can see there is one message/packet lost.
You can see that the proxy ends at the end of when 0 is used in Telnet. 's' is then sent from the Telnet but it's not seen in the proxy.go as shown in the screenshot. 'd' 'f' etc are then seen in the proxy.go.
's' is lost. Is this a bug?