goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

Segment response size in bytes or megabytes

Open ingnelson opened this issue 5 years ago • 3 comments

Hello master.

what command do i need to use to send a segment size response ? , so the server send every 1000 bytes or 10000 bytes to the client ? using a tcp proxy on port 80

proxy http -t tcp -p "0.0.0.0:80"

can you tell what to do , please ? i really need to send the response every 1000 bytes .

ingnelson avatar Jun 07 '20 15:06 ingnelson

TCP proxy need an upstream, your upstream should do that.

snail007 avatar Jun 07 '20 22:06 snail007

@snail007 can you give the command to do it , please. ? i do not undestand what you said with "upstream "

I am just creating a tunnel using goproxy + shadowsocks.

SERVER ubuntu VPS: goproxy on port 80 and shadowsocks on port 443.

client PC:

So i need the response to the client always be 1000 bytes , so everytime 1000 bytes and other 1000 bytes till the connecttion is close by the client.

do i need to modify something ? or just a command on goproxy ?

i really appreciate your help

please

ingnelson avatar Jun 07 '20 23:06 ingnelson

this is just proxies server , "how it working" is decieded your endpoint server , it looks like you need keep hearbeat in client and your server,you should do it between your client and server, goproxy no this function yet, it just transfer data between your client and server.

snail007 avatar Jun 08 '20 02:06 snail007