-
Notifications
You must be signed in to change notification settings - Fork 895
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
Do not ignore the result of StreamMessage.tryWrite() in GraphqlWSSubProtocol #5542
Comments
@minwoox , can i work on it? |
Hi, @pushrsp! Yeah, you can have this. Thanks! |
We also have to cancel the publisher that emits the data. |
As far as I know, If |
That is correct. 👍 armeria/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java Line 274 in d9703ed
So if armeria/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java Line 244 in d9703ed
|
Currently. we ignore the result of
StreamMessage.tryWrite()
in several places inGraphqlWSSubProtocol
:armeria/graphql/src/main/java/com/linecorp/armeria/server/graphql/GraphqlWSSubProtocol.java
Line 355 in d9703ed
We shouldn't ignore it. If it returns false, we should cancel the publisher and cleanup the resource.
The text was updated successfully, but these errors were encountered: