Home > database >  Tomcat adding Newline to Request Body after certain number of Chars?
Tomcat adding Newline to Request Body after certain number of Chars?

Time:09-17

I have been experiencing an issue where newlines are added to an (XML) Request Body for my Spring Boot application running on a standalone Tomcat server, whenever a single line exceeds some number (49.153) of chars.

Sent Request Body:

<body>
fooobaarfooobaarfooobaarfooobaarfooobaarfoooobarfoooobar
</body>

Received Request in Application Layer:

<body>
fooobaarfooobaar
fooobaarfooobaar
fooobaarfoooobar
foooobar
</body>

Anyone had this experience or know what could be causing the issue? Adjusting max post size or swallow sizes has not helped. Thanks in advance!

CodePudding user response:

You only see the output of the logging framework.

The message is not affected.

  • Related