[GH-ISSUE #375] Segment response size in bytes or megabytes #286

Open
opened 2026-02-27 23:16:20 +03:00 by kerem · 3 comments
Owner

Originally created by @ingnelson on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/375

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 .

Originally created by @ingnelson on GitHub (Jun 7, 2020). Original GitHub issue: https://github.com/snail007/goproxy/issues/375 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 .
Author
Owner

@snail007 commented on GitHub (Jun 7, 2020):

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

<!-- gh-comment-id:640291312 --> @snail007 commented on GitHub (Jun 7, 2020): TCP proxy need an upstream, your upstream should do that.
Author
Owner

@ingnelson commented on GitHub (Jun 7, 2020):

@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

<!-- gh-comment-id:640298230 --> @ingnelson commented on GitHub (Jun 7, 2020): @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
Author
Owner

@snail007 commented on GitHub (Jun 8, 2020):

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.

<!-- gh-comment-id:640331305 --> @snail007 commented on GitHub (Jun 8, 2020): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#286
No description provided.