fix xf fail close

This commit is contained in:
ran.shang
2025-08-15 10:03:33 +08:00
parent 7feebc4a35
commit dd72bcb099
3 changed files with 5 additions and 0 deletions

View File

@@ -216,6 +216,7 @@ public class WebIATWS extends WebSocketListener {
log.info("onFailure body:" + response.body().string());
if (101 != code) {
log.info("connection failed");
webSocket.close(1000, "");
}
}
} catch (IOException e) {

View File

@@ -137,6 +137,7 @@ public class WebTtsWS extends WebSocketListener {
log.info("onFailure body:" + response.body().string());
if (101 != code) {
log.info("connection failed");
webSocket.close(1000, "");
}
}
} catch (IOException e) {