[jboss-jira] [JBoss JIRA] Created: (JGRP-725) FRAG2: optionally use Message.size() rather than Message.length() to compute message size

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Mar 27 04:58:39 EDT 2008


FRAG2: optionally use Message.size() rather than Message.length() to compute message size
-----------------------------------------------------------------------------------------

                 Key: JGRP-725
                 URL: http://jira.jboss.com/jira/browse/JGRP-725
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
         Assigned To: Bela Ban
            Priority: Minor
             Fix For: 2.6.3, 2.7


FRAG2 by default uses Message.length() to compute the size of a message, to determine whether the message need to be fragmented or not. If we have many headers, this might *not* fragment the message, but when marshalled, the message might be too large for UDP to send it.

SOLUTION: add a use_real_size property which uses Message.size() instead of Message.length(), and ignores 'overhead'.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list