Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download large file timeout after 60 seconds #124

Closed
txthinking opened this issue Nov 24, 2017 · 2 comments
Closed

Download large file timeout after 60 seconds #124

txthinking opened this issue Nov 24, 2017 · 2 comments

Comments

@txthinking
Copy link
Owner

txthinking commented Nov 24, 2017

Describe actual behavior

When I download large file on Chrome or some other client which send request.
Timeout after 60 seconds.

What is your expected behavior

Keep connecting

Specifications like the version of the project, operating system, or hardware

Brook Server Version: 20171113
Brook Cli Client Version: 20171113
Brook Windows GUI Client Version: 2017113
Brook MacOS GUI Client Version: 20171113

Steps to deploy the server

  1. wget https://github.com/txthinking/brook/releases/download/v20171113/brook
  2. chmod +x brook
  3. ./brook server -l :9999 -p xx

Steps to reproduce the problem

  1. Run Brook MacOS GUI Client.
  2. Click Brook key icon, click Setting
  3. In setting page, choose Brook, type server address, type password and click Save
  4. Click Brook key icon, click Start
  5. Use chrome to open some page to download 1G file.
  6. After 60s, timeout(0 kb/s)
@txthinking
Copy link
Owner Author

Solution:

Run your server with --tcpDeadline 0
Like this:

$ ./brook server -l :9999 -p xx --tcpDeadline 0

I will make this parameter default in next version

@txthinking
Copy link
Owner Author

Fixed in v20180112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant