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
Copy file name to clipboardExpand all lines: src/ESPAsyncWebServer.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -194,9 +194,9 @@ class AsyncWebServerRequest {
194
194
AsyncWebServerResponse *_response;
195
195
ArDisconnectHandler _onDisconnectfn;
196
196
197
-
bool _sent = false; // response is sent
198
-
bool _paused = false; // request is paused (request continuation)
199
-
std::shared_ptr<AsyncWebServerRequest> _this; // shared pointer to this request
197
+
bool _sent = false; // response is sent
198
+
bool _paused = false; // request is paused (request continuation)
199
+
std::shared_ptr<AsyncWebServerRequest> _this; // shared pointer to this request
200
200
201
201
String _temp;
202
202
uint8_t _parseState;
@@ -488,7 +488,7 @@ class AsyncWebServerRequest {
488
488
* The middelware chain will continue to be processed until the end, but no response will be sent.
489
489
* To resume operations (send the request), the request must be retrieved from the weak pointer and a send() function must be called.
490
490
* @warning This function should be called from within the context of a request (in a handler or middleware for example).
491
-
* @warning While the request is paused, any network disconnection will cause the request to be deleted.
491
+
* @warning While the request is paused, any network disconnection will cause the request to be deleted.
492
492
* So it is the responsibility of the user to check the validity of the request pointer (AsyncWebServerRequestPtr) before using it by calling lock() and/or expired().
0 commit comments