mirror of
https://github.com/lxsang/ant-http
synced 2024-12-27 01:08:21 +01:00
fix websocket
This commit is contained in:
parent
6d32fdfc3d
commit
ecba0ed96d
@ -178,6 +178,7 @@ void ws_f(int client, const char* file)
|
|||||||
ptr = fopen(file,"rb");
|
ptr = fopen(file,"rb");
|
||||||
if(!ptr)
|
if(!ptr)
|
||||||
{
|
{
|
||||||
|
ws_close(client,1011);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user