Check Content-Length and use io.LimitReader to prevent OOM from unexpectedly large unsplash responses before buffering into memory. |
||
|---|---|---|
| .. | ||
| handler | ||
| unsplash | ||
| upload | ||
| background.go | ||
Check Content-Length and use io.LimitReader to prevent OOM from unexpectedly large unsplash responses before buffering into memory. |
||
|---|---|---|
| .. | ||
| handler | ||
| unsplash | ||
| upload | ||
| background.go | ||