Handle chunked / partial data from server#70
Conversation
Updated two files to correctly process incoming data that may arrive in multiple fragments instead of a single complete payload.
|
Thanks for looking into this! Several of your improvements are great — checking However, after some research, I think the chunk-parsing approach needs to be reworked. Use the library's built-in chunked handlingThe ESP32 Concerns with manual chunk parsing in trmnl.cpp
Suggested approach
Would you be open to reworking along these lines? Thanks again! |
|
I have to admit that I "vibe coded" the manual chunk parsing just to get the thing working. Will close this PR now and we'll open a new one once I'm able to get the new code. |
|
No worries. I also used an LLM to review the submission and investigate if the underlying library already had support. I'd be happy to take a look at another PR whenever you are ready. |
Updated two files to correctly process incoming data that may arrive in multiple fragments instead of a single complete payload.