Skip to content
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

Add ability to stream command output as a response #443

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

milolav
Copy link

@milolav milolav commented Jul 25, 2020

Similar to the #251, with only one option for streaming and based on the current version of webhook (2.7.0)

Has a mysterious issue where response gets delayed for a few seconds when opening in a browser but starts immediately when opening with curl/wget.

Reference implementation https://play.golang.org/p/PpbPyXbtEs doesn't have this issue. Does anyone have an idea why is that happening?

@moorereason
Copy link
Collaborator

@milolav, please edit this PR to be against the development branch, not master. Also, the Travis CI builds are failed due to a bug in our Travis config. We should get fixed in development soon with #445, and then you can rebase.

@milolav milolav changed the base branch from master to development July 29, 2020 00:31
@milolav
Copy link
Author

milolav commented Jul 29, 2020

@moorereason I missed the argument in the test script. Fixed that and switched PR to be against the development branch

@moorereason
Copy link
Collaborator

@milolav, I still haven't taken a good look at this PR, but you should be able to rebase against development to fix the Travis CI builds.

@milolav
Copy link
Author

milolav commented Aug 5, 2020

@moorereason rebased my master branch against the current development branch and merged the change for this PR.

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.

None yet

2 participants