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

Fix issue 632 (double execution of callback) #695

Merged
merged 3 commits into from
Jan 21, 2020

Conversation

hfinger
Copy link

@hfinger hfinger commented Dec 19, 2019

This fixes that a grpc-status in the response header resulted in double execution of the callback that was provided to the rpcCall (#632)

In the echoAbort exampl to test grpc error response codes, this bug (#632) was not hit, because the used server library (grpc-js) is not fully compliant with other grpc server libraries. It seems that the grpc-js library is not sending grpc-status response headers in the same way as the golang, c++ implementations or that these headers are removed by envoy if grpc-js is used (this needs to be confirmed separately). In my tests, I found that simply changing the npm package to the native "grpc" library in the provided examples would result in the bug mentioned above. Therefore, I suggest to switch to the grpc npm package in the examples (i.e. grpc-js is still in beta).

Holger Finger added 2 commits December 19, 2019 19:15
…er, because grpc-js is not fully compatible to the native grpc server.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 19, 2019

CLA Check

  • ❌The commit (c732162 ,478cb23d67bd64991fbe2562db1a9ec310f67a00) is missing the User's ID,preventing the EasyCLA check.Consult GitHub Help to resolve.

@hfinger hfinger closed this Jan 2, 2020
@hfinger hfinger reopened this Jan 2, 2020
@hfinger
Copy link
Author

hfinger commented Jan 16, 2020

Please could some maintainer let me know how I could proceed to get this pull request merged? Thanks.

@stanley-cheung
Copy link
Collaborator

@hfinger Please follow the instructions above to signed the CLA. thanks!

@hfinger
Copy link
Author

hfinger commented Jan 18, 2020

@stanley-cheung
I already signed the CLA on 19th December 2019. Not sure how I can proceed now. If I click now again on the EasyCLA link and click on "open CLA" then I am redirected back to this page (github pull request). Even if I open the EasyCLA link in a complete new Browser window, a click on OpenCLA always just ends up redirecting to this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants