Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure at least one log flush happens before request ends (#164)
Force a log flush before the connection closes. Fixes #163
- Loading branch information
Showing
2 changed files
with
60 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4a4468e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks the
go build
based dev server for those usinggoogle.golang.org/appengine
along with thego111
runtime (i.e. partially migrated). Even ifgoogle.golang.org/appengine/log
is not used directly, the explicit flush causes requests to fail withdial tcp: lookup metadata: no such host
.Can work around by downgrading
google.golang.org/appengine
tov1.2.0
.4a4468e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tclift Can you post a reproduction as a new issue, please?