Skip to content
Snippets Groups Projects
Commit e64d151f authored by Kevin Harwell's avatar Kevin Harwell
Browse files

ari_websockets: removed extra check on websocket session read

When merging the websocket timeout issue (ASTERISK-24701) an extra, almost
duplicate, check was left in the code that should not have been. This removes
it.

ASTERISK-24701 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/4412/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent feddab79
Branches
Tags
No related merge requests found
...@@ -104,12 +104,6 @@ struct ast_json *ast_ari_websocket_session_read( ...@@ -104,12 +104,6 @@ struct ast_json *ast_ari_websocket_session_read(
return NULL; return NULL;
} }
if (ast_websocket_fd(session->ws_session) <= 0) {
return NULL;
}
while (!message) { while (!message) {
int res; int res;
char *payload; char *payload;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment