Open StefanLobbenmeier opened 2 years ago
This is not a blocking issue for me, I just wanted to report it so it can be used as a reference. I wanted to use NanoHttpd as a reverse Proxy but ended up going with undertow instead since it has reverse proxy functionality built-in
This might also be described in #293, but since that author did not provide as much detail I am creating a new issue.
My client is sending some xml data via a chunked HTTP message, see this screenshot from wireshark:![image](https://user-images.githubusercontent.com/36509607/138304981-18c866a4-b4e7-4b3f-88a6-3909f3f00d8c.png)
Now when I access the field postData in my server code I get this:
As you can see, the chunksize before the XML is also contained in the postData:![image](https://user-images.githubusercontent.com/36509607/138305382-220bbe8f-204a-4eef-a04f-7bbd255d3613.png)
The last 0 is another chunk of size zero, not sure why it is being sent:![image](https://user-images.githubusercontent.com/36509607/138305589-768da37f-86ec-4cad-ba1a-81f18047072e.png)
I would expect the HTTP Server to unwrap the data instead of having to do that myself.