-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Labels
bugConfirmed bugs or reports that are very likely to be bugs.Confirmed bugs or reports that are very likely to be bugs.
Description
Prerequisites
- Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo%3Aetr%2Flibhttpserver&type=Issues
Description
Upgrading from 0.18.2 to 0.19.0 I find that large POST payloads that worked fine before are now truncated at around 15553 characters (that is the offset the JSON parser reports).
Steps to Reproduce
- POST argument of 18K or larger.
- Access via get_arg or get_arg_flat and convert to std::string.
- Observe that it is truncated.
Expected behavior: [What you expect to happen]
Data is not truncated.
Actual behavior: [What actually happens]
Data is truncated at around 15553 characters.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
- Linux XXXX 4.18.0-477.51.1.el8_8.x86_64 1 SMP Fri Mar 1 11:21:44 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
- libhttpserver version 0.19.0, compiled
- libmicrohttpd version 0.9.71, compiled
Additional Information
Sorry I don't have a simple reproducer. I'll see if I can make a test that fails.
Metadata
Metadata
Assignees
Labels
bugConfirmed bugs or reports that are very likely to be bugs.Confirmed bugs or reports that are very likely to be bugs.