Change from 3.7.4 to 3.7.7 caused "failed to allocate temporatry buffer" for sending a webpage in chunks #199
Replies: 2 comments
-
@PBJ-results : are you able to reproduce with one of the example or provide a MRE to reproduce please ? You have an example already you can play with: Note that you can control the buffer, which, in your code, forget to do. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick reply! When I have time to look into this deeper, I will see if I can reproduce my issue with simpler code. I currently think my problem has something to do with not setting a buffer size and going from <StreamString.h> to <cbuf.h> in the AsyncResponseStream. (#148) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When going from version 3.7.4 to 3.7.7 I was not able to serve a large page when sending the page in chunks:
I would get the following error response when using verbose core debug:
12:45:52.300 -> [165343][E][cbuf.cpp:104] resize(): failed to allocate temporary buffer
12:45:52.300 -> [165350][E][WebResponses.cpp:848] write(): Failed to allocate
Notes:
I currently have no need to go to 3.7.7 but I wanted to let the community & it's developers know.
let me know if you want any more information if you want to duplicate & or solve
Beta Was this translation helpful? Give feedback.
All reactions