Skip to content
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

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

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

Comments

Projects
None yet
4 participants
@rin01
Copy link

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

This comment has been minimized.

Copy link
Contributor

commented Aug 12, 2015

CC @mikioh

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2015

There is #7882, but no concrete plan yet.

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2015

Merged into #7882.

@mikioh mikioh closed this 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.
You can’t perform that action at this time.