The files should not be read all at once. Instead, their contents should be buffered and sent to the connection incrementally.
The files should not be read all at once. Instead, their contents should be buffered and sent to the connection incrementally.