TT#14008 fix "Connection: Close" HTTP breakage

closes #1482

Change-Id: I5357a079616476b3fd1d7cfa842b23fa31135674
pull/1487/head
Richard Fuchs 4 years ago
parent 91169cc152
commit b907dea9e3

@ -260,7 +260,8 @@ static int websocket_dequeue(struct websocket_conn *wc) {
int ret = 0;
if (is_http)
ret = lws_http_transaction_completed(wsi); // may destroy `wc`
if (lws_http_transaction_completed(wsi) == 1) // may destroy `wc`
ret = -1;
return ret;
}

Loading…
Cancel
Save