Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B107510994 for ; Wed, 20 Nov 2013 11:09:57 +0000 (UTC) Received: (qmail 99446 invoked by uid 500); 20 Nov 2013 11:09:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98248 invoked by uid 500); 20 Nov 2013 11:09:39 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 98132 invoked by uid 99); 20 Nov 2013 11:09:33 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 11:09:33 +0000 Received: from localhost (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 11:09:33 +0000 Message-ID: <528C9867.6060707@apache.org> Date: Wed, 20 Nov 2013 11:09:27 +0000 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: setting the text or binary buffer size for websockets References: <5288AEC8.4000400@apache.org> <5288DBDF.3060200@apache.org> <528B7752.8060806@apache.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 19/11/2013 17:12, Johan Compagner wrote: >> >>> I expect that i can send now 32K at >>> once of text (or binary) withing that "continuation frame" >> >> The buffer sizes control the input buffer - i.e. they control the >> maximum size of a message that can be received if an application doesn't >> support partial messages. >> >> The output buffers are all 8K. >> >> The splitting of a WebSocket message into multiple frames should be >> transparent to the application. >> >> > > ah thx. > > But then i think a doc needs to be updated: > > http://tomcat.apache.org/tomcat-8.0-doc/web-socket-howto.html > > that doesn't tell me at all that it only input buffers, the property name > doesn't say that and also the text doesn't mention that at all > it just says: "The default buffer size for text messages is 8192 bytes" and > many times in java that means an output buffer. Done. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org