-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support.endpoint: allow waiting for incoming connection.
Some protocols start with the server sending some data as soon as the client connects. If such data is not sent, the client will not proceed with its first message. When send is called before a client is connected, it is immediately discarded. To wait for data sent by the client, a server implementation can call recv_wait. This commit makes recv_wait return after a client connects, too.
- Loading branch information
1 parent
553160c
commit c8fa37e
Showing
2 changed files
with
19 additions
and
0 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