Commit Graph

14 Commits

Author SHA1 Message Date
Manu Mtz-Almeida 34b1d0262e Refactors response_writer.go 2015-03-23 04:45:33 +01:00
Manu Mtz-Almeida 251b73fc70 Fixes #239 bug 2015-03-23 04:45:03 +01:00
Manu Mtz-Almeida 21e53c0db6 Fixes responseWriter.Size()
- "written" boolean is not longer needed
- size is reseted
- addition instead of assignation
2014-09-03 04:25:08 +02:00
Matt Newberry daedc0bc17 Add response body size to writer interface 2014-09-02 13:17:37 -04:00
Manu Mtz-Almeida 3b079bb6f7 Merge branch 'master' into develop 2014-08-29 19:50:58 +02:00
Manu Mtz-Almeida 8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida 8f1bbc6b6a gin.responseWriter implements http.Flusher and http.CloseNotifier 2014-08-26 17:52:58 +02:00
Manu Mtz-Almeida 7a87c5cbd4 Referencing the http.Hijacker interface 2014-08-26 17:50:07 +02:00
olebedev 4a24c47a69 Hijacker interface added 2014-08-25 15:58:43 +04:00
Manu Mtz-Almeida b3f322c5fc Fixes bug when status code is negative 2014-08-24 04:35:11 +02:00
Manu Mtz-Almeida e11ff5bacb response_writes uses 200 as default status code. 2014-08-18 19:48:01 +02:00
Manu Mtz-Almeida dcafad3ced Deferring WriteHeader. Part 1 2014-08-18 05:24:48 +02:00
Manu Mtz-Almeida 48f4914165 Performance improvement
- Reduces number of allocations per context
- Improves CPU cache usage
2014-07-18 00:10:28 +02:00
Manu Mtz-Almeida d42aa6d868 Fixes wrap around http.ResponseWriter 2014-07-04 00:01:28 +02:00