If one incoming HTTP request should be sent to 5 workers async,
See *solution #5* for similar problem/solution -
http://rodaine.com/2015/04/async-split-io-reader-in-golang/ .
A video file is required to be processed in multiple formats where
io.MultiWriter is used to send all data asynchronously wh
You could respond with "Connection: close" header
On Tue, Jan 17, 2017 at 12:41 AM, Tony Grosinger
wrote:
> I would like to create an HTTP server which forces the connection to be
> closed after writing the response.
> For example:
>
> func closingHandler(w http.ResponseWriter, r *http.Request)
The ran the code on play, seems to come out within 2 seconds.
https://play.golang.org/p/yZIAvXI8IX
On Sun, Jan 8, 2017 at 12:53 PM, wrote:
>
> Can you please help to correct below program where timeout not seems
> working
>
> Work 1 - have 1 second
> Work 2 - have 3 second
> Total Timeout - 2 s