directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Commented: (DIR-108) Server PDU are splitted in small chunks
Date Tue, 08 Mar 2005 03:52:52 GMT
     [ http://issues.apache.org/jira/browse/DIR-108?page=comments#action_60402 ]
     
Trustin Lee commented on DIR-108:
---------------------------------

This issue has been resolved in APSEDA, but MINA doesn't merge fragments of bytebuffers now.
 It would be nice if MINA can handle this.  I can add ProtocolDecoderOutput.mergeAll() method
to let ProtocolDecoders can merge fragmented ByteBuffers into a single ByteBuffer.  I'll also
have to modify MINA's Asn1Encoder.

But I'm afraid that Asn1Encoder would not be able to work against UDP because there is a possibility
that one message can generate two or more packets and modified version will merge them into
one packet.  It would be the best if ASN1 codec modify its interface to provide a method that
is directly mapped to ProtocolDecoderOutput.mergeAll().

WDYT, Alex?

> Server PDU are splitted in small chunks
> ---------------------------------------
>
>          Key: DIR-108
>          URL: http://issues.apache.org/jira/browse/DIR-108
>      Project: Directory
>         Type: Improvement
>     Reporter: Emmanuel Lecharny
>     Priority: Minor

>
> PDU that are created by ApacheDS server are sent back in small chunk. A lot of IP packets
are necessary to reconstruct the LDAP message : typically, each TLV is sent as a TCP packet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message