micro/api/handler/api
Vasiliy Tolstov 02839cfba5
api/handler: use http.MaxBytesReader and buffer pool (#1415)
* api/handler: use http.MaxBytesReader

protect api handlers from OOM cases

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-26 14:29:28 +03:00
..
api.go api/handler: use http.MaxBytesReader and buffer pool (#1415) 2020-03-26 14:29:28 +03:00
util_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
util.go api/handler: use http.MaxBytesReader and buffer pool (#1415) 2020-03-26 14:29:28 +03:00