DescriptionAdd mojo <--> net IO adapters.
This refactors the net->mojo adapter currently in the URL loader and moves it to the net_adapters file so it can be shared with the tcp_socket. An adapter going in the opposite direction (currently unused) is also added.
Makes some changes to the existing adapter: naming for clarify (since there is now one going in the opposite direction, things were getting pretty confusing), and some of the setup logic was moved into a static function so it can be shared.
Clarify requirements for calling EndWriteData (the old code called this in error cases as well).
Committed: https://crrev.com/1167859505244b69c95e3f7ceb9c7a048a6c0774
Cr-Commit-Position: refs/heads/master@{#299211}
Patch Set 1 #Patch Set 2 : #
Total comments: 10
Patch Set 3 : review comments #
Messages
Total messages: 9 (2 generated)
|