Skip to content

Commit

Permalink
Update ktor-client/ktor-client-core/common/src/io/ktor/client/plugins…
Browse files Browse the repository at this point in the history
…/websocket/WebSockets.kt
  • Loading branch information
e5l authored Oct 7, 2024
1 parent 4e49781 commit da70a7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public class WebSockets internal constructor(

LOGGER.trace("Receive websocket session from ${context.request.url}: $session")

if (plugin.maxFrameSize != Long.MAX_VALUE) {
if (plugin.maxFrameSize != Int.MAX_VALUE.toLong()) {
session.maxFrameSize = plugin.maxFrameSize
}

Expand Down

0 comments on commit da70a7c

Please sign in to comment.