On Sep 10, 2012, at 6:13 AM, Oleg Kalnichevski <[email protected]> wrote:

> I think this problem can be easily fixed. If the expected X500Principal
> is known in advance, one can stick it into the local execution context
> as ClientContext#USER_TOKEN attribute [1]. This will force the client to
> request connections with the given state only.

Yep.   Worked perfectly.

I committed my latest updates to the sandbox.   A little more cleanup and I'll 
likely merge it into the main build.   

I did do a pretty big update to the SharedOutputBuffer to better handle the 
case where a large byte[] is passed into the write method.   It will now avoid 
copying blocks out of there into the buffer to then copy into the encoder.   
Avoids a bunch of copies.   Also avoids a bunch of flipping back and forth 
between threads as the enable/disable output stuff is flipped back and forth. 


-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to