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

[Bug] HTTP server HttpRequest release bug #3284

Closed
2 tasks done
mytang0 opened this issue Feb 27, 2023 · 0 comments · Fixed by #3287
Closed
2 tasks done

[Bug] HTTP server HttpRequest release bug #3284

mytang0 opened this issue Feb 27, 2023 · 0 comments · Fixed by #3287
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mytang0
Copy link
Member

mytang0 commented Feb 27, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Mac

EventMesh version

master

What happened

HttpRequest reference exception occurs in handlerService.handler

private class HTTPHandler extends SimpleChannelInboundHandler<HttpRequest> {
......
        @Override
        protected void channelRead0(ChannelHandlerContext ctx, HttpRequest httpRequest) throws Exception {
            if (httpRequest == null) {
                return;
            }

            if (Objects.nonNull(handlerService) && handlerService.isProcessorWrapper(httpRequest)) {
                handlerService.handler(ctx, httpRequest, asyncContextCompleteHandler);
                return;
            }
......
}

handlerService.handler has httpRequest release bug

How to reproduce

Test handler message.

Debug logs

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@mytang0 mytang0 added the bug Something isn't working label Feb 27, 2023
xwm1992 added a commit that referenced this issue Feb 27, 2023
[ISSUE #3284] Fix HTTP server HttpRequest release bug
@xwm1992 xwm1992 added this to the 1.9.0 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants