Large packets chunked?

hi, am devoping custom IQ packets…some of them will be handling large data (at times images). Just wondering, does the smack transport framework chunk such large packets during transportation or is something i got to do my self? am considering networks with limited connectivity. or even just general performance.

thanks.

you haven’t specified which jabber server you are using? but in ejabberd server there is a setting in config file(ejabberd.cfg) for maximum allowed incoming rate in bytes/sec When a connection exceeds this limit, ejabberd stops reading from the socket until the average rate is again below the allowed maximum. this setting is

{shaper, normal, {maxrate, 1000}}.

you can increase this limit and then restart the server.