1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/api/handler/cloudevents
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
..
cloudevents.go api/handler: use http.MaxBytesReader and buffer pool (#1415) 2020-03-26 14:29:28 +03:00
event.go api/handler: use http.MaxBytesReader and buffer pool (#1415) 2020-03-26 14:29:28 +03:00