Add support for VM HTTP2 handlers#3294
Conversation
56ba07f to
a67b617
Compare
e59b451 to
e0a43d2
Compare
marun
left a comment
There was a problem hiding this comment.
Would it be possible to elaborate as to the motivation for this addition? The current 'why this should be merged' in the description seems more like 'what'.
Added |
|
The upgrade failure is legit - I'm guessing you might need to rebase? From the logs: |
I think my coreth branch fell behind master. Gonna rebase my coreth branch again. |
|
This PR has become stale because it has been open for 30 days with no activity. Adding the |
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
|
Related coreth pr ava-labs/coreth#1006 |
Signed-off-by: Joshua Kim <[email protected]>
Why this should be merged
Adds native support for GRPC services being registered over the avalanchego http server. This adds support for streaming via grpc as an alternative to websockets.
How this works
h2c's http handler to support plaintext http2Handlerpc that includes headersrequest.Bodyso that the plugin process can stream the body instead of the current behavior which usesio.ReadAllwhich may not be possible in the case of a streaming rpc.How this was tested
Added a e2e test for unary + streaming rpcs over rpcchainvm