mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
WebSockets: always return -1 from send_index_body() unless there is a write error
This commit is contained in:
parent
d219cde926
commit
420137ea9d
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ WebsocketsServer::send_index_body (Client wsi)
|
|||
/* lws_http_transaction_completed() returns 1 if the HTTP connection must close now
|
||||
Returns 0 and resets connection to wait for new HTTP header / transaction if possible */
|
||||
if (lws_http_transaction_completed (wsi) != 1) {
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return -1; // end connection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue