Skip to content

Commit

Permalink
remove 'ws->closed' modify, will be modify in 'ws_send_close()', this…
Browse files Browse the repository at this point in the history
… line is no used
  • Loading branch information
alawn-wang committed Dec 14, 2023
1 parent a9e844c commit bb084b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/supplemental/websocket/websocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,6 @@ ws_read_frame_cb(nni_ws *ws, ws_frame *frame)
break;
case WS_CLOSE:
ws_close(ws, WS_CLOSE_NORMAL_CLOSE);
ws->closed = true;
return;
default:
ws_close(ws, WS_CLOSE_PROTOCOL_ERR);
Expand Down

0 comments on commit bb084b2

Please sign in to comment.