You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2021/05/04 13:34:33 UTC

[GitHub] [qpid-dispatch] ganeshmurthy commented on pull request #1182: DISPATCH-2098 - Stop HTTP server before the AMQP server

ganeshmurthy commented on pull request #1182:
URL: https://github.com/apache/qpid-dispatch/pull/1182#issuecomment-831945886


   You could also call the qd_http_server_free() function directly from qd_dispatch_free(qd_dispatch_t *qd) by adding this function in server_private.h
   qd_http_server_t *qd_server_http(qd_server_t *server);
   
   And implement that in server.c 
   qd_http_server_t *qd_server_http(qd_server_t *server)
   {
          return server->http;
   }
   
   Call it directly from like this qd_dispatch_free like this - 
   qd_http_server_free(qd_server_http(qd->server));
   
   


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org