Skip to content
Commit f07a9691 authored by Jackie Ja's avatar Jackie Ja Committed by Jukka Rissanen
Browse files

net: websocket: Fix websocket loop close call



A normal websocket close sequence:
  close(websock) ->
    websocket_close_vmeth() ->
      websocket_disconnect()

close(ctx->sock) called in the function websocket_disconnect()
and cause websocket_close_vmeth() called again.
Finally stack overflow by loop close call.

It's maybe a side-effect by PR #27485

Signed-off-by: default avatarJackie Ja <qazq.jackie@gmail.com>
parent da45a880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment