Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Conversation

@paclema
Copy link
Contributor

@paclema paclema commented Jan 18, 2021

By default the json doc size for AsyncJson is #define DYNAMIC_JSON_DOCUMENT_SIZE 1024.
When I want to handle a POST request with a bigger json, the AsyncWebServer is not able to handle it and I get an Http failure response from the web browser. But with this fix you can predefine a bigger json document size.

@cpainchaud
Copy link

some please push !!!!

@me-no-dev me-no-dev merged commit 2f78426 into me-no-dev:master Feb 24, 2021
rtrbt pushed a commit to Tinkerforge/ESPAsyncWebServer that referenced this pull request Jun 9, 2021
DmytroKorniienko pushed a commit to DmytroKorniienko/ESPAsyncWebServer that referenced this pull request Oct 1, 2021
flofricke added a commit to flofricke/ESPAsyncWebServer that referenced this pull request Dec 27, 2021
* Fix authentication for callback web handlers

* URL template match by extension (me-no-dev#751)

Changes to be committed:
modified:   src/WebHandlerImpl.h

* Redefine DYNAMIC_JSON_DOCUMENT_SIZE if not defined (me-no-dev#922)

* Fix build when using latest arduino-esp32 master due to IDF update (me-no-dev#999)

* Fix build when using latest arduino-esp32 master due to IDF update
espressif/arduino-esp32@a618fc1

* Fix build when using WebSockets

* Stop PIO CI

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: Viktr <vik@notexi.st>
Co-authored-by: Pablo Clemente Maseda <paclema@gmail.com>
Co-authored-by: JDavid <davidaristi.0504@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants