xwm1992 commented on code in PR #4336:
URL: https://github.com/apache/eventmesh/pull/4336#discussion_r1289417293
##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/HandlerService.java:
##########
@@ -268,6 +284,11 @@ public void run() {
response = processorWrapper.httpProcessor.handler(request);
this.postHandler();
+ if (processorWrapper.httpProcessor instanceof
ShortHttpProcessor) {
+ sendShortResponse(ctx, this.request, this.response);
+ return;
+ }
+ HandlerService.this.sendResponse(ctx, this.request,
this.response);
Review Comment:
here please do not refactor the postHandler method code, just move the
method calling position is ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]