Skip to content

The deferred execution request is not being processed #33

Closed

Description

@butaikis

I previously used this library from the old repository. I decided to upgrade, and after the upgrade, I started having errors when requesting my API. The fact is that the last request for which the error was delayed, I'll explain:

  1. I received a request for ESP32
  2. I am reading json, I have sent commands to a third-party UART module
  3. I am waiting for a response
  4. I am giving a response to the server

As far as I understand, as soon as I exit the handler
WebServer.on("/api", HTTP_POST, [this](AsyncWebServerRequest *request) {}, NULL, [this](AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total){});
it immediately closes the connection, how to resolve this issue?

Image

Image

Activity

  1. locked and limited conversation to collaborators on Jan 29, 2025
  2. converted this issue into a discussion #34 on Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions