Java Runtime Environment: openjdk version “1.8.0_292”
openHAB version: 3.1.0
Issue of the topic:
I’m retrieving a sitemap from an ESP32 based device and am facing some issues related to the fact that the output is sent with Transfer-Encoding:chunked. Basically, openHAB sends the data properly, I can see it getting out of the WiFi interface just fine with WireShark but the ESP32 gets confused with it.
While investigating the core reason for the issue, I stumbled onto a different code path for chunked and non chunked transfers.
To rule out this option, I would like openHAB to stop sending chunked responses and am wondering if there is a setting somewhere that would instruct the embedded Jetty sever to send responses without the Transfer-Encoding:chunked header.
Do you know if such a setting exist? If not, what would you suggest that I try?
This is not an issue per se, chunked transfer is fine for most clients. It’s just that I have issues with an ESP32 based board and was wondering if I could rule out chunked transfer as the culprit.
Yes, I know the benefits of chunked transfers, it’s just that I hoped for a single switch to turn it off.
There is no such switch, so I placed a reverse proxy in between that allows to consolidate chunk transfers and that confirmed the issue.
Thanks, it did not help but I managed to find the issue in my own code and now have a working situation