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

core/validatorapi: fix proxy response flushing #696

Merged
merged 3 commits into from
Jun 10, 2022

Conversation

corverroos
Copy link
Contributor

Fix event stream proxy issue. Since we wrapped the response writer in our own type, it didn't implement http.Flusher, so streaming responses were not proxied/flushed to the client.

category: bug
ticket: #688

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #696 (8a2c61b) into main (f48f1c4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #696   +/-   ##
=======================================
  Coverage   55.11%   55.12%           
=======================================
  Files         102      102           
  Lines        9899     9896    -3     
=======================================
- Hits         5456     5455    -1     
+ Misses       3654     3653    -1     
+ Partials      789      788    -1     
Impacted Files Coverage Δ
core/validatorapi/router.go 66.26% <100.00%> (-0.20%) ⬇️
testutil/compose/run.go 84.21% <0.00%> (ø)
core/qbft/qbft.go 81.97% <0.00%> (+0.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f48f1c4...8a2c61b. Read the comment docs.

core/validatorapi/router.go Outdated Show resolved Hide resolved
Co-authored-by: Abhishek Kumar <43061995+xenowits@users.noreply.github.com>
@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Jun 10, 2022
@obol-bulldozer obol-bulldozer bot merged commit daf837c into main Jun 10, 2022
@obol-bulldozer obol-bulldozer bot deleted the corver/proxyflush branch June 10, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants