Hello,

I deployed the new CAS 4 server in our environment and I encountered a lot
of warnings related to Buffer overflow while encoding the CAS ST and TGT.

"org.jasig.cas.ticket.registry.support.kryo.KryoTranscoder - Buffer
overflow while encoding"

I looked at the KryoTranscoder and I understand how the buffer is
incrementally extended to get enough space for serialization. I understand
also that I have to tune the initialBufferSize parameter to avoid these
warnings.

However I wonder why the serialization process is implemented this way
because one can use the standard Kryo ObjectBuffer class where we can
directly pass the Maximum Buffer size.

I think this low level work has to be done in Kryo and not in the Memcached
Ticket Registry.

Any comments?

Thanks for your attention,

Michaël

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to