Hi MSS team, While incorporating carbon-transports v2.0.0 changes to MSS, we discovered few possible issues in the code.
1) It seems setup method of MSSNettyServerInitializer class is not getting executed in the current snapshot (this is without carbon-transports v2.0.0). Therefore, DefaultEventExecutorGroup is always null. As a result, all the handlers (including HttpDispatcher, RequestRouter) are running on the same thread. 2) Even if we execute the setup method of MSSNettyServerInitializer at the start-up time of the server, it leads to another problem. With the effect of DefaultEventExecutorGroup, RequestRouter.channelReadComplete method is getting executed before BasicHttpResponder writes back the response. As a result, whatever written using channel.write(response) is not getting sent back to the client as no code to execute the flush() method. P.S. *curl -v http://localhost:8080/stockquote/IBM <http://localhost:8080/stockquote/IBM> *is the request we used. -- Regards, *Shafreen* Software Engineer WSO2 Inc Mobile : 077-556-395-1
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
