1
0
mirror of https://github.com/golang/go synced 2024-10-01 10:28:31 -06:00
go/cmd/tipgodoc
Tommy Schaefer 0770aced4f cmd/tipgodoc: Kill godoc process if http.ListenAndServe fails
Currently, if for some reason http.ListenAndServe fails, any running
running godoc processes don't get killed. I don't think this would ever
actually happen because, with godoc being set up in a separate go
routine, http.ListenAndServe would always(?) fail before the godoc
server started.

This change ensures that, if a Proxy has a cmd, it is closed when
http.ListenAndServe fails.

Change-Id: I0d3bfae0c16bc583248c2052a4d7a84c95127e76
Reviewed-on: https://go-review.googlesource.com/8570
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-08 14:14:19 +00:00
..
app.yaml cmd/tipgodoc: simplify Dockerfile and fix deployment 2015-01-09 00:21:14 +00:00
Dockerfile cmd/tipgodoc: enable indexing 2015-03-09 23:33:43 +00:00
README cmd/tipgodoc: fix some nits 2015-01-09 00:28:10 +00:00
tip.go cmd/tipgodoc: Kill godoc process if http.ListenAndServe fails 2015-04-08 14:14:19 +00:00

To deploy as an App Engine Manged VM, use gcloud:

	$ gcloud --project golang-org preview app deploy .