-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit global uTP listener events when uTP stream is closed or reset
- Loading branch information
Showing
11 changed files
with
543 additions
and
276 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
Process all closed uTP streams in UtpListener and pass the payload to overlay service. | ||
- Rename `UtpSocket` to `UtpStream`. | ||
- Refactor the way we are storing the received payload (DATA packets) in the uTP stream. | ||
- Add a new AddActiveConnection UtpListener request and move the initialization of a uTP stream inside UtpListener. | ||
- Add UtpStream -> UtpListener event channel and emit event inside UtpStream when stream state changes to Closed or Reset. | ||
- Emit a global uTP listener event containing a uTP payload when a stream is closed. | ||
- Remove redundant and dead code. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,4 @@ features = ["bundled"] | |
|
||
[dev-dependencies] | ||
quickcheck = "1.0.3" | ||
ntest = "0.8.0" |
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
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.