Skip to content

Long payloads of requests get truncated #258

@thomas-huegel

Description

@thomas-huegel

Describe the bug
On a POST request with a long payload, only the beginning of it gets received.
On some cases the logged body is even empty!

To Reproduce

  1. Create a Lorem Ipsum text file of around 6000 characters.
  2. Launch the server.
  3. Request to it via curl :
curl localhost:8080 -X POST -d '@lorem.txt' -H "Content-Type: application/x-www-form-urlencoded"
  1. Look at what Printer() logs as the request's body.

Expected behavior
The entire payload should be handled.

Desktop (please complete the following information):

  • Linux x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions