-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): HTTP streamed task output watching
When watching streamed tasks output on Fatbuildrweb HTTP REST API, fatbuildrctl crashed due to unexpected stopped iterator. Actually, the python requests Response.iter_content() was not properly used and with recent change for better integration of urllib3, a regression occured. The chunk size of the generator cannot be changed dynamically while reading data. The data is now placed into a buffer, and the buffer is filled with the next chunks when new data is required. fix #138
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
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
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