thorsager / surl

surl like curl but a server
MIT License
2 stars 0 forks source link

Larger buffer when serving large files #4

Open thorsager opened 4 months ago

thorsager commented 4 months ago

Currently the io.Copy function is used, when serving files. I believe this has a hard-corded buffer-size of 32K. I believe that using a larger buffer when serving large files could improve the performance.