Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Fix file upload handler by adjusting function signatures #9

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

edwinvp
Copy link
Contributor

@edwinvp edwinvp commented Jan 29, 2024

This branch intends to fix the file upload feature of the async web server.
As seen icw with the Teensy 4.1 board.

When one uploads a file through the web server the appropriate handlers aren't called.
Or perhaps only the default implementation of the virtual method is called which does nothing.

This PR changes the signatures of the file upload handler methods in an attempt to fix that.

The fix was originally proposed by member Shuptuu of the PJRC forum:

https://forum.pjrc.com/index.php?threads/asyncwebserver_teensy41-bug-onupload.72220

@khoih-prog
Copy link
Owner

Thanks. Merging now and new release published soon.
BR,

@khoih-prog khoih-prog merged commit f508f2f into khoih-prog:main Jan 29, 2024
1 check passed
@khoih-prog
Copy link
Owner

Hi @edwinvp

Please check the new release AsyncWebServer_Teensy41 v1.7.0

Your contribution is noted in Contributions and Thanks


Releases v1.7.0

  1. Fix file upload to Teensy 4.1 board based on suggestions made on the PJRC forum. Align signatures of file upload handlers.
    For more details, please see this post: AsyncWebServer_Teensy41 bug onUpload.

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.

2 participants