Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: add a method to net.TCPConn, to send MSG_OOB "urgent data" #12121
Usually, when a user has sent a request to a server, and the request is running from a too long time, the user can send a "cancel" command by sending an out-of-band data to the server.
The server can then immediately take the appropriate measure.
Is it possible to add a method to net.TCPConn, that would call the C function "send(..., MSG_OOB)" ?