uWebSockets
uWebSockets copied to clipboard
HTTP Requests with more than 4 GB is not supported
The Content-Length attribute is parsed as a unsigned int, which gives the wrong result for stream sizes larger than 4 GB.
In our company, we use µWebSockets to provide websocket and REST API endpoints. The REST API endpoints are used, for example, to upload binary blobs of data.
Unfortunately, those data blobs can become very large. We were able to fix the problem by changing some unsigned int to uint64_t in HTTPParser.h, but maybe other users may have this problem as well.
Feel free to PR it as size_t
Please add your changes to be merged if you want it fixed. Will close as this is a very unusual request.