Commit Graph

7 Commits

Author SHA1 Message Date
Aliaksandr Valialkin 886e541160 Removed 'recover-from-panic' band-aids.
All the panics must be handled by the user code.
2016-07-12 12:30:38 +03:00
Aliaksandr Valialkin ce9d1d2224 Use fasthttp.PipeConns instead of io.Pipe in StreamReader
This improves StreamReader performance by more than 2x.
2016-06-10 15:31:05 +03:00
Aliaksandr Valialkin 8f05edbec9 typo fix 2016-06-08 16:03:51 +03:00
Aliaksandr Valialkin cd2eb9bd90 Document that Close must be called on the reader returned from NewStreamReader 2016-02-13 11:07:39 +02:00
Aliaksandr Valialkin 95093e35cf Removed redundant Reset() calls on bufio.Reader/bufio.Writer/gzipWriter/flateWriter before returning them to the pool, since Reset() is immediately called after these instances are obtained from pool 2015-12-29 15:10:14 +02:00
Aliaksandr Valialkin e0225d4c98 typo fix 2015-12-09 16:36:16 +02:00
Aliaksandr Valialkin 52999aff94 Added SetBodyStreamWriter for streaming response body 2015-12-09 16:33:07 +02:00