Skip to content

net: add a method to net.TCPConn, to send MSG_OOB "urgent data" #12121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rin01 opened this issue Aug 12, 2015 · 3 comments
Closed

net: add a method to net.TCPConn, to send MSG_OOB "urgent data" #12121

rin01 opened this issue Aug 12, 2015 · 3 comments

Comments

@rin01
Copy link

rin01 commented Aug 12, 2015

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)" ?

@ianlancetaylor ianlancetaylor added this to the Unplanned milestone Aug 12, 2015
@ianlancetaylor
Copy link
Contributor

CC @mikioh

@mikioh
Copy link
Contributor

mikioh commented Aug 14, 2015

There is #7882, but no concrete plan yet.

@mikioh
Copy link
Contributor

mikioh commented Aug 14, 2015

Merged into #7882.

@mikioh mikioh closed this as completed Aug 14, 2015
@golang golang locked and limited conversation to collaborators Aug 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants