You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi,
I'm using http.Client to make restful calls, turning off nagle's algorithm will help as messages are very short and response time needs to be fast. Is there a way to check or/and set to turn off 'NoDelay'/Nagle's algorithm for http.Client ( https://golang.org/pkg/net/http/#Client ) ?
Regards and thanks in advance,
Janne Snabb
unread,
Oct 8, 2016, 4:10:27 PM10/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
In the http.Client that you use, specify your own Transport where you
specify your own DialContext function which Dials first and then calls
SetNoDelay on the connection before returning.