mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-11 15:08:59 +08:00
Merge branch 'master' of github.com:cesanta/mongoose
This commit is contained in:
commit
2ec7e5653e
2
src/ws.c
2
src/ws.c
@ -173,7 +173,7 @@ static void mg_ws_cb(struct mg_connection *c, int ev, void *ev_data,
|
|||||||
if (final) mg_call(c, MG_EV_WS_MSG, &m);
|
if (final) mg_call(c, MG_EV_WS_MSG, &m);
|
||||||
break;
|
break;
|
||||||
case WEBSOCKET_OP_CLOSE:
|
case WEBSOCKET_OP_CLOSE:
|
||||||
LOG(LL_ERROR, ("%lu Got WS CLOSE", c->id));
|
LOG(LL_DEBUG, ("%lu Got WS CLOSE", c->id));
|
||||||
mg_call(c, MG_EV_WS_CTL, &m);
|
mg_call(c, MG_EV_WS_CTL, &m);
|
||||||
c->is_closing = 1;
|
c->is_closing = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user