Re: [go-nuts] Is this a possible bug with pipe

2022-09-14 Thread Jan Mercl
On Thu, Sep 15, 2022 at 1:53 AM ramki...@hotmail.com wrote: > When I submitted it as a bug, this is what I got. > https://github.com/golang/go/issues/55029 By chance, do you know what is a > buffering for io.Copy? https://cs.opensource.google/go/go/+/refs/tags/go1.19.1:src/io/io.go;l=385 --

Re: [go-nuts] Is this a possible bug with pipe

2022-09-14 Thread ramki...@hotmail.com
When I submitted it as a bug, this is what I got. https://github.com/golang/go/issues/55029 By chance, do you know what is a buffering for io.Copy? On Monday, September 12, 2022 at 5:26:21 PM UTC-4 Jan Mercl wrote: > On Mon, Sep 12, 2022 at 11:16 PM ramki...@hotmail.com > wrote: > > > > I cr

Re: [go-nuts] Is this a possible bug with pipe

2022-09-12 Thread Jan Mercl
On Mon, Sep 12, 2022 at 11:16 PM ramki...@hotmail.com wrote: > > I created a TCP Proxy using io.copy (which creates a splice). Here is the > code. > > Proxy TCP Server - https://pastebin.com/iAcFjmV1 > Regular TCP Server - https://pastebin.com/V6AN7atV > > When using telent to port 8080, the prox

[go-nuts] Is this a possible bug with pipe

2022-09-12 Thread ramki...@hotmail.com
I created a TCP Proxy using io.copy (which creates a splice). Here is the code. Proxy TCP Server - https://pastebin.com/iAcFjmV1 Regular TCP Server - https://pastebin.com/V6AN7atV When using telent to port 8080, the proxy starts and everything typed in the telnet will be returned. After 10 seco