Cosmetic changes

This commit is contained in:
Manu Mtz.-Almeida 2016-01-26 15:55:30 +01:00
parent 5196d455c8
commit 7b4e9a81a5
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
###Gin 1.0rc2 (...)
- [PERFORMANCE] Fast path for writting Content-Type.
- [PERFORMANCE] Fast path for writing Content-Type.
- [PERFORMANCE] Much faster 404 routing
- [PERFORMANCE] Allocation optimizations
- [PERFORMANCE] Faster root tree lookup

View File

@ -412,9 +412,9 @@ func (c *Context) Stream(step func(w io.Writer) bool) {
case <-clientGone:
return
default:
keepopen := step(w)
keepOpen := step(w)
w.Flush()
if !keepopen {
if !keepOpen {
return
}
}