[Asterisk-code-review] res http websocket: When shutting down a session don't close... (asterisk[certified/13.1])

Joshua Colp asteriskteam at digium.com
Thu Aug 13 05:36:16 CDT 2015


Joshua Colp has uploaded a new patch set (#2).

Change subject: res_http_websocket: When shutting down a session don't close closed socket
......................................................................

res_http_websocket: When shutting down a session don't close closed socket

Due to the use of ast_websocket_close in session termination it is
possible for the underlying socket to already be closed when the
session is terminated. This occurs when the close frame is attempted
to be written out but fails.

Change-Id: I7572583529a42a7dc911ea77a974d8307d5c0c8b
---
M res/res_http_websocket.c
1 file changed, 5 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/1080/2
-- 
To view, visit https://gerrit.asterisk.org/1080
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7572583529a42a7dc911ea77a974d8307d5c0c8b
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list