8000
div>
-
Notifications
You must be signed in to change notification settings - Fork 260
Stream input back in echo h2 + h2c curl streaming payload + minimal prometheus metrics (number of fd) #721
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
Conversation
This file contains hidden or 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
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #721 +/- ##
========================================
+ Coverage 89.2% 89.7% +0.5%
========================================
Files 16 16
Lines 3917 4004 +87
========================================
+ Hits 3495 3593 +98
+ Misses 271 262 -9
+ Partials 151 149 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
wuhaoyujerry
approved these changes
Mar 1, 2023
PrabhdeepsGill
approved these changes
Mar 3, 2023
…ndpoint (#723) * expose scli's num_fd and stats about currently running runs in prom endpoint \* split away flacky/race test * check for error in proxy test * Update codecov to large resource class in config.yml * scrape more often for tests, simplify prom start
ldemailly
added a commit
that referenced
this pull request
Mar 9, 2023
…i (with nil/io.discard writer) leftover from #721
ldemailly
added a commit
that referenced
this pull request
Mar 9, 2023
* go1.19.7 * fix access log status code code and also use the cheaper streaming api (with nil/io.discard writer) leftover from #721
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.
This is quite a big change/refactor to essentially support Reader/Writer instead of Payload input and byte[] output
Also added h2c for client (based on getting it working on https://github.com/fortio/h2cli first)
Also includes #723 (stats about open file descriptor and number of in flight runs under a new metrics endpoint) separated out for ease of review
Also fixed #305 because it was getting tiring to keep manually changing flags output and version
Also fixed divide by 0 panic when trying to resolve "" host (discovered from adding tests).
Server
and on curl window you see the readme coming back in chunks with 1s pause (from the rate limit)
in h1.1 mode results would only come back at the end
also now working:
ie h2c streaming works from
fortio curl
too (not just h2cli)