You could try SetDeadline with a short time span. The group mentioned it before, IIRC.
On Tuesday, September 27, 2016 at 9:20:32 PM UTC+8 song...@gmail.com wrote: > http.Server.ReadTimeout is per the whole Read quest, but I need the > timeout for a single Request.Body.Read. > > > What need to do ? thanks. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e4079f7a-ae94-4c16-9578-55ed2fd0620an%40googlegroups.com.