version bump

This commit is contained in:
sergeych committed 2025-03-27 00:08:50 +03:00
1 parent 8837e49248
commit 59b7310385
5 files changed
+30 -8

No files matched your search

@@ -54,7 +54,9 @@ fun <S> websocketClient(
*/
fun websocketTransportDevice(
path: String,
client: HttpClient = HttpClient { install(WebSockets) },
client: HttpClient = HttpClient {
install(WebSockets)
},
): Transport.Device {
var u = Url(path)
if (u.encodedPath.length <= 1)
@@ -126,9 +128,8 @@ fun websocketTransportDevice(
runCatching { input.close() }
runCatching { close() }
}
}
catch(x: IOException) {
if( "refused" in x.toString()) log.debug { "connection refused" }
} catch (x: IOException) {
if ("refused" in x.toString()) log.debug { "connection refused" }
else log.warning { "unexpected IO error $x" }
runCatching { output.close() }
runCatching { input.close() }