Skip to content

Commit

Permalink
Merge pull request #15 from michli/master
Browse files Browse the repository at this point in the history
Fixed the missing set max frame size
  • Loading branch information
jfarcand committed Aug 11, 2015
2 parents c7dae54 + 5053bab commit 8ca04a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/jfarcand/wcs/Websocket.scala
Expand Up @@ -35,7 +35,7 @@ object WebSocket {
def apply(o: Options): WebSocket = {
if (o != null) {
nettyConfig.setWebSocketMaxBufferSize(o.maxMessageSize)
nettyConfig.setWebSocketMaxBufferSize(o.maxMessageSize)
nettyConfig.setWebSocketMaxFrameSize(o.maxMessageSize)
config.setRequestTimeout(o.idleTimeout).setUserAgent(o.userAgent).setAsyncHttpClientProviderConfig(nettyConfig)
}

Expand Down

0 comments on commit 8ca04a7

Please sign in to comment.