Skip to content

Handle form upload abortion in ESP8266WebServer #833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from

Conversation

mangelajo
Copy link
Contributor

If the client connection gets closed during a form upload,
the fileUploadHandler is notified with the new
UPLOAD_FILE_ABORTED status, and the loop is ended
gracefully.

Fixes issue #830

@mangelajo
Copy link
Contributor Author

Ouch, I got it added to the same PR, I didn't want that. Sorry.

@mangelajo mangelajo closed this Sep 30, 2015
mangelajo pushed a commit to mangelajo/Arduino that referenced this pull request Oct 1, 2015
This ESP8266HTTPUpdateServer can be instantiated and used
more cleanly, it's also able to take or create an ESP8266WebServer
to configure the events and /update handler.

It's been made more robust by handling upload abort, which
depends on fix provided for issue esp8266#833
igrr added a commit that referenced this pull request Oct 2, 2015
Handle form upload abortion in ESP8266WebServer (fix #833)
igrr pushed a commit that referenced this pull request Oct 29, 2015
This ESP8266HTTPUpdateServer can be instantiated and used
more cleanly, it's also able to take or create an ESP8266WebServer
to configure the events and /update handler.

It's been made more robust by handling upload abort, which
depends on fix provided for issue #833
igrr added a commit that referenced this pull request Oct 29, 2015
Handle form upload abortion in ESP8266WebServer (fix #833)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant