-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of relying on Rust code exposed through runtime library functions, all socket operations are now implemented in Inko's standard library. For TLS sockets we rely on callbacks for performing TLS reads and writes, such that we don't need to expose any socket logic to the TLS code. By making these changes we're now fully in control of the socket logic, the functionality we want to support, and how we want to support it. In addition, we can drop the dependency on the socket2 crate. In case of TLS sockets this may also result in a more efficient implementation, as encountering EAGAIN/EWOULDBLOCK only retries the low-level read/write instead of the entire TLS operation, though it's difficult to say whether this makes a measurable difference. This fixes #752. Changelog: changed
- Loading branch information
1 parent
6ac1062
commit f53cfd9
Showing
30 changed files
with
2,107 additions
and
1,501 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
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
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ mod class; | |
mod env; | ||
mod float; | ||
mod general; | ||
mod helpers; | ||
mod int; | ||
mod process; | ||
mod random; | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.