[JDEV] urgent: Max. Message size ???

temas temas at box5.net
Tue Mar 7 09:00:57 CST 2000


This is odd, as the only limitation currently set in the jabber server is 500K,
and we may lift that after the development period.  I have forwarded your msg
to the JabberCOM developer, so he can tell you more.

--temas

On Tue, Mar 07, 2000 at 03:13:48PM +0600, chandan sonaye wrote:
> Hi all,
> 
>         I am working in a Internet-based project. In the project, we are
> developing an Instant Messaging client using Jabber Server in Visual
> C++. I am using COM object (JabberCOM32) which is available at jabber
> web site.
> My jabber client can send and receive messages. But it can not receive
> messages which are larger than some fixed size(4kb). When client
> receives any message greater than this limit, it can not handle the
> message.
> 
> The problem is as below:
> In JabberCOM object, there are events like OnXml() and OnMessage().
> In case of small messages(messages smaller than 4k), first OnXml() event
> fires and then OnMessage() event fires.
> In OnMessage(), i parse message and take appropriate action.
> But in case of  larger messages (messages greater than 4k), only OnXml()
> event fires. In OnXml(), whole message doesn't come. Only some part of
> message comes in OnXml(). In this case, OnMessage() event does not fire.
> And then my application crashes.
> 
> Why is the limit for message size? Is buffer size(4k) determined at
> jabber server?
> In any case, How can i handle these larger messages?
> Please give some guidelines to solve above problem.
> 
> Thank you
> 
> chandan
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20000307/61dad219/attachment-0002.pgp>


More information about the JDev mailing list