lammertb / libhttp

Multi platform HTTP and HTTPS library
MIT License
957 stars 131 forks source link

Question: Does LibHTTP stream a POSTed file to disk, or hold it all in memory? #60

Open JetForMe opened 5 years ago

JetForMe commented 5 years ago

Does LibHTTP stream a POSTed file to disk, or hold it all in memory? We have an issue right now where our embedded server loads an entire uploaded file in RAM before writing it to disk. The uploaded files are getting to be too large to hold in RAM; we need to stream them to disk in chunks (or to have the server do it for us). I can't quite tell, looking at libHTTP's docs, if this is the case.

Thanks!