Fixing @WebSocket(maxBinaryMessageSize=#} handling

This commit is contained in:
Joakim Erdfelt 2013-10-30 09:18:04 -07:00
parent e2da5fc7f1
commit 513d2ca758
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class JettyAnnotatedEventDriver extends AbstractEventDriver
}
if (anno.maxBinaryMessageSize() > 0)
{
this.policy.setMaxTextMessageSize(anno.maxBinaryMessageSize());
this.policy.setMaxBinaryMessageSize(anno.maxBinaryMessageSize());
}
if (anno.inputBufferSize() > 0)
{