-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reason for removing latency accept is that we are operating on L7 now, so we are not going to hijack L4-level accept() function call. Also, the initial implementation has a bug where if connections are not created consecutively, the latency accept will not work, as what will happen is: a) set latency accept b) latency in effect c) accept waiting for new connections d) new connection comes in, establish it e) go to b -> so the time spent on waiting for a new connection is actually counted as the "latency accept" time, not just the time between the connection request is initialized by the client and the time the server actually accepts it. Signed-off-by: Chun-Hung Tseng <[email protected]>
- Loading branch information
1 parent
8d627e2
commit 26b6772
Showing
2 changed files
with
7 additions
and
166 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