[
https://issues.apache.org/jira/browse/DISPATCH-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408327#comment-16408327
]
ASF GitHub Bot commented on DISPATCH-945:
-----------------------------------------
GitHub user ChugR opened a pull request:
https://github.com/apache/qpid-dispatch/pull/271
DISPATCH-945: Prevent crash at shutdown when websocket client connected
Execute qd_http_server_free before the server is shut down so that
lws vhost and context destruction activity is handled properly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ChugR/qpid-dispatch DISPATCH-945-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/271.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #271
----
commit 860f9abac764a3838661b0c23fa2438d11d7fdab
Author: Chuck Rolke <crolke@...>
Date: 2018-03-21T17:48:10Z
DISPATCH-945: Prevent crash at shutdown when websocket client connected
Execute qd_http_server_free before the server is shut down so that
lws vhost and context destruction activity is handled properly.
----
> Crash on shutdown when a http+websocket connection is open
> ----------------------------------------------------------
>
> Key: DISPATCH-945
> URL: https://issues.apache.org/jira/browse/DISPATCH-945
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 1.0.1
> Reporter: Ted Ross
> Assignee: Chuck Rolke
> Priority: Major
> Fix For: 1.1.0
>
>
> If the router is shut down when there is an active HTTP+websockets
> connection, the router segfaults.
> This crash appears to be a result of improper shutdown ordering. When the
> connection is closed, the container module has already been freed. This
> results in the dereferencing of invalid pointers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]