-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Simplified and improved Http Client and Http Server stream handling #1247
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… encoding. This way you can send video streams directly from your ESP-connected camera. Added sample that demos secure HTTP upload of a local file to remote server. Simplified the MemoryDataStream init check.
slaff
force-pushed
the
fix/http-chunked
branch
from
September 26, 2017 13:55
dd32845
to
24cd6dc
Compare
- Zero-Copy for streams that have fixed size. - Send data in async way. (Before that the request stream data was read in full and then sent ) - Added HttpChunkedStream for requests that need to send the data using "chunked" transfer-encoding (like endless video streams, etc. )
slaff
force-pushed
the
fix/http-chunked
branch
from
September 26, 2017 13:59
24cd6dc
to
2ee8c9c
Compare
Now sending large files using HTTP is working as expected. SSL sending or large data is still flawed and needs fixing.
slaff
force-pushed
the
fix/http-chunked
branch
from
September 28, 2017 17:40
1f94497
to
d83b9f8
Compare
Added improvements to TCP handling in HttpServer. ArduinoStream now extends from the ReadWriteStream.
slaff
force-pushed
the
fix/http-chunked
branch
from
October 9, 2017 10:16
49239cd
to
fa8369d
Compare
Changed the ArduCam application to use the multipart stream to stream "live" video from the camera. Changed the FileStream to report the correct length.
slaff
changed the title
Fixed the support for sending "endless" data via HTTP using "chunked"…
Simplified and improved Http Client and Http Server stream handling
Oct 9, 2017
slaff
force-pushed
the
fix/http-chunked
branch
from
October 9, 2017 20:24
77e3b3d
to
f96b4d0
Compare
slaff
pushed a commit
to slaff/Sming
that referenced
this pull request
Nov 6, 2017
…ith Arduino. - Arduino compatibility improvements (SmingHub#1213). - Library code for some Arduino libraries comes directly from their source repositories (Adafruit_ST7735, Adafruit_SSD1306). - Added dynamic recalculation of image offsets to prevent rom overlapping (SmingHub#1208). - Added Wi-Fi Protected Setup (WPS) support (SmingHub#1199). - Ram savings in axTLS (SmingHub#1255). - Simplified and improved Http Client and Http Server stream handling (SmingHub#1247). - Fixed Memory Leak in Mqtt (SmingHub#1273). - Updated Spiffs code to version 0.3.7 + fixes (#SmingHub#1246). And much more. All merged PRs in this release can be seen from [here](https://github.com/SmingHub/Sming/milestone/12?closed=1) - Changed the order of Wire.begin and Wire.pins parameters to match the Arduino order (SmingHub#1193). For a complete list of changes run the following command: ``` git log 3.3.0..3.4.0 ``` Thanks to everyone who helped us make this release happen.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for chunked transfer encoding.
Added support for multipart streams.
Sending and receiving data should require less memory.
Added sample that demos secure HTTP upload of a "big" local file to remote server.
Sending of "endless" data from the HttpClient and HttpServer should work as expected.