Cosmetic changes
This commit is contained in:
		@ -2,7 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
###Gin 1.0rc2 (...)
 | 
					###Gin 1.0rc2 (...)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [PERFORMANCE] Fast path for writting Content-Type.
 | 
					- [PERFORMANCE] Fast path for writing Content-Type.
 | 
				
			||||||
- [PERFORMANCE] Much faster 404 routing
 | 
					- [PERFORMANCE] Much faster 404 routing
 | 
				
			||||||
- [PERFORMANCE] Allocation optimizations
 | 
					- [PERFORMANCE] Allocation optimizations
 | 
				
			||||||
- [PERFORMANCE] Faster root tree lookup
 | 
					- [PERFORMANCE] Faster root tree lookup
 | 
				
			||||||
 | 
				
			|||||||
@ -412,9 +412,9 @@ func (c *Context) Stream(step func(w io.Writer) bool) {
 | 
				
			|||||||
		case <-clientGone:
 | 
							case <-clientGone:
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
		default:
 | 
							default:
 | 
				
			||||||
			keepopen := step(w)
 | 
								keepOpen := step(w)
 | 
				
			||||||
			w.Flush()
 | 
								w.Flush()
 | 
				
			||||||
			if !keepopen {
 | 
								if !keepOpen {
 | 
				
			||||||
				return
 | 
									return
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user