diff options
Diffstat (limited to 'libgo/go/net/http/cgi/child.go')
-rw-r--r-- | libgo/go/net/http/cgi/child.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/net/http/cgi/child.go b/libgo/go/net/http/cgi/child.go index e6c3ef911ab..1ba7bec5fc5 100644 --- a/libgo/go/net/http/cgi/child.go +++ b/libgo/go/net/http/cgi/child.go @@ -144,6 +144,7 @@ func Serve(handler http.Handler) error { bufw: bufio.NewWriter(os.Stdout), } handler.ServeHTTP(rw, req) + rw.Write(nil) // make sure a response is sent if err = rw.bufw.Flush(); err != nil { return err } |