Closed jsign closed 3 years ago
Use an io.Reader instead of loading all the content in a slice, which can lead to high RAM usage and potential OOM crashes. The mime detection still works crafting a new reader to return the full output.
io.Reader
Use an
io.Reader
instead of loading all the content in a slice, which can lead to high RAM usage and potential OOM crashes. The mime detection still works crafting a new reader to return the full output.