You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/25 16:28:20 UTC

[GitHub] [dubbo] zrlw opened a new issue #8919: TomcatHttpServer的close方法没有关掉tomcat的端口

zrlw opened a new issue #8919:
URL: https://github.com/apache/dubbo/issues/8919


   * Dubbo version: 3.0 / master
   
   TomcatHttpBinderTest测试方法shouldAbleHandleRequestForTomcatBinder的httpServer.close()语句设置断点,单步执行之后netstat -an看端口依旧在listening,原因是tomcat.stop方法并不会关闭端口,还需要在stop之后继续调destroy方法才能关闭端口。
   TomcatHttpServer是org.apache.dubbo.remoting.http.HttpServer接口的实现类,其行为应和接口其他实现类比如JettyHttpServer一致,后者就是在close操作时完全关掉监听端口的。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #8919: TomcatHttpServer的close方法没有关掉tomcat的端口

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #8919:
URL: https://github.com/apache/dubbo/issues/8919


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org