Skip to content

Conversation

@StephS
Copy link

@StephS StephS commented May 21, 2021

See original PR me-no-dev#922 Allows override of DYNAMIC_JSON_DOCUMENT_SIZE

mathieucarbou and others added 30 commits September 4, 2024 13:06
…ng partial events that straddle buffers; Improvement: don't hold onto event items until ack, immediately remove them from queue

Copy of esphome#41
AsyncEventSource writes multiple events per tcp send, including partial events that straddle buffers; Improvement: don't hold onto event items until ack, immediately remove them from queue
(fix #94) Remove MAX_PRINTF_LEN limitation and fixed wrong usage of vsnprintf
- request->setAttribute(name, val)
- request->hasAttribute(name)
- request->getAttribute(name, defaultValue)
(feat) Add support for request attributes
All headers are already parsed: interesting headers allowed to cleanup parsed headers to only keep interesting ones during request processing.
Removing "interesting headers" support will keep these parsed headers in heap memory during request processing before being freed at the end of the request.
If you really need to cleanup some headers to get more heap space during request processing, use a middleware and removeHeadersExcept(names) to remove some.
(perf) Remove "interesting headers" to fasten request processing (replaced with `removeHeadersExcept`)
mathieucarbou and others added 30 commits December 19, 2024 10:36
Reset connection when appropriate + some code cleanup
Revert "use my AsyncTCP fork"

This reverts commit b956d15.

use my AsyncTCP fork
update readme on build options
Specifying libCompatMode in library.json prevents projects from overriding the library compatibility mode as needed. This prevents the library from being used in builds where Arduino is a component to ESP-IDF.
Remove libCompatMode from library.json
IMS template must contain GMT timezone, not local - "%a, %d %b %Y %H:%M:%S GMT"

create etag based on timestamp + filesize

INM header handling should have precedence over IMS
rework INM/IMS handling for AsyncStaticWebHandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants