-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from lesismal/comments
### 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.
- Loading branch information
Showing
41 changed files
with
1,290 additions
and
879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.