Skip to content

Content buffer in handlers has a fixed size of 100. This is not enough in some cases.

In the handlers, the content buffer is declared like this: char content[100], which leads to truncation with long request bodys.

A good way to solve this would be to calculate the size of the max. json content length (obviously only partly possible for strings without max-length) plus some buffer.