You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: AsyncAbstractResponse might loose part of send buffer
AsyncAbstractResponse::_ack could allocate temp buffer with size larger than
available sock buffer (i.e. to fit headers) and eventually lossing the remainder on transfer
due to not checking if the complete data was added to sock buff.
Refactoring code in favor of having a dedicated std::vector object acting as accumulating
buffer and more carefull control on amount of data actually copied to sockbuff
Closes#315
Added back MRE
added overrides
add AsyncWebServerRequest::clientRelease() method
this will explicitly relese ownership of AsyncClient* object.
Make it more clear on ownership change for SSE/WebSocket
ci(pre-commit): Apply automatic fixes
AsyncWebSocketResponse - keep request object till WS_EVT_CONNECT event is executed
user code might use HTTP headers information from the request
ci(pre-commit): Apply automatic fixes
fix typo
// That space that _tcp is writing to identified by CONFIG_TCP_SND_BUF_DEFAULT (and is value-matching with default TCP windows size which is very confusing itself).
77
+
// The space returned by client()->write() and client->space() somehow might not be atomically/thread synced (had not dived that deep yet). So if first call to _fillBuffer is done via user-code thread and ended up with some small amount of data consumed and second one is done by _poll or _ack? returns full size again! This is where old code fails.
78
+
// If you change your class this way it will fail 100%.
addHeader("Clear-Site-Data", "Clears browsing data (e.g., cookies, storage, cache) associated with the requesting website.");
87
+
addHeader(
88
+
"No-Vary-Search", "Specifies a set of rules that define how a URL's query parameters will affect cache matching. These rules dictate whether the same "
89
+
"URL with different URL parameters should be saved as separate browser cache entries"
0 commit comments