[ https://issues.apache.org/jira/browse/DISPATCH-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511493#comment-16511493 ]
Ganesh Murthy commented on DISPATCH-1037: ----------------------------------------- Due to difficulty in deleting HTTP listeners via libwebsockets, we are no longer allowing delete operation on HTTP listeners > Listeners with http enabled are not being shutdown after they are deleted > ------------------------------------------------------------------------- > > Key: DISPATCH-1037 > URL: https://issues.apache.org/jira/browse/DISPATCH-1037 > Project: Qpid Dispatch > Issue Type: Bug > Components: Routing Engine > Reporter: Fernando Giorgetti > Assignee: Ganesh Murthy > Priority: Major > > When an http enabled listener is deleted through the console, or via qdmanage > ($management), it is being removed from the list of listeners (qdmanage > query) but the router still listens to the related TCP port. > In the example below I had a router with an http listener on port 5674 and a > non-http listener at 5672. > Here are the steps to demonstrate it: > * Start the router and query listeners > > {code:java} > $ qdmanage query --type listener | egrep 'name' > "name": "listener/0.0.0.0:5672", > "name": "listener/0.0.0.0:5674", > {code} > > * Verify TCP ports being listened > > {code:java} > $ netstat -anp | egrep tcp.*LISTEN.*qdrouterd > tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd > tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd > {code} > > * Delete HTTP listener on port 5674 > > {code:java} > $ qdmanage delete --type listener --name 'listener/0.0.0.0:5674' > {code} > > * Query listeners > > {code:java} > $ qdmanage query --type listener | egrep 'name' > "name": "listener/0.0.0.0:5672", > {code} > > * Verify TCP ports being listened > > {code:java} > $ netstat -anp | egrep tcp.*LISTEN.*qdrouterd > tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 2887/qdrouterd > tcp 0 0 0.0.0.0:5674 0.0.0.0:* LISTEN 2887/qdrouterd > {code} > > Note: This is only happening with http enabled listeners. Regular listeners > are being shutdown properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org