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