-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hvsock: Add new command Upgrade <port_num> to shake hand
This commit add a simple handshake interaction like WebSocket: A new command called Upgrade <port_num>\n to request connect port. hybrid vsock response 101\n (Switching Protocol) if connected. hybrid vsock response 504\n (Service Unavailable) if guest has not listened on the port. Signed-off-by: Hui Zhu <teawater@antfin.com>
- Loading branch information
Showing
2 changed files
with
53 additions
and
17 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