While adding SSL support to our project using SslFilter, I ran into
the problem where SslFilter does not handle writes of FileRegions.
SslFilter.filterWrite() casts the message in the WriteRequest to an
IoBuffer.  However, this doesn't work for FileRegions (leading to a
ClassCastException).

Has anyone else run afoul of this issue?  Apart from sticking another
IoFilter in the chain "before" the SslFilter to convert the FileRegion
into an equivalent IoBuffer, is there another/better solution?

-adam

Reply via email to