Open m2acgi opened 1 year ago
The server may not support streaming request or response.
Try the following commands in different terminals.
seq inf | curl -T- https://piping.example.com/mypath
curl https://piping.example.com/mypath
The expected behavior is as follows.
The server if official server: https://piping.nwtgck.repl.co/
So the go-piping-tunnel not suitable for long time running in backgroud.
I understand what the issue is now. I have been thinking about a feature for long time running. It will repeatedly connect Piping Server in a loop. For now, --pmux
is for long time running, but it is experimental feature.
Thanks, looking forward to the updated version with this new feature.
If the server or client shutdown, the clienet or server will shutdown also, log show
[ERR] yamux: Failed to read header: invalid content-type: text/html; charset=utf-8
, it won't connect auto. So the go-piping-tunnel not suitable for long time running in backgroud. Please fix. Thanks.