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

add comments #400

Merged
merged 37 commits into from
Apr 10, 2024
Merged

add comments #400

merged 37 commits into from
Apr 10, 2024

Conversation

lesismal
Copy link
Owner

@lesismal lesismal commented Mar 3, 2024

No description provided.

@lesismal
Copy link
Owner Author

Socket

  1. epoll/kqueue: clear fd from poller automatically by syscall.Close will.
  2. Add flow control for write cache flush to avoid large buffer write failure.
  3. Optimize the write cache using buffers to avoid a single large buffer cache.

HTTP:

  1. Change body to [][]byte to avoid single large buffer usage.
  2. Optimize body calculation.
  3. Add MaxHTTPBodySize config.
  4. add Client.Dial configuration.
  5. add Engine.SetETAsyncRead/SetLTSyncRead.

Websocket

  1. Add Lock for parsing logic.
  2. Optimize session consistency.

@lesismal lesismal merged commit 4254217 into master Apr 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant