Hi
I need to process (discard) Http headers to get to the binary payload
(the interesting part).
Has anyone dealt with something like that before within the MINA
framework? What would be the best way to tackle that?
My first idea was to keep using the same CumulativeProtocolDecoder
I'm using now and add processing to filter out the Http header.
Also right now we're listening on 1 port to accept client connections
which could be clients using sockets to connect and/or Http.
But someone suggested maybe to listen to 2 ports, one would take
client connection for plain socket and one for Http. I'm not sure it
will bring any benefits.
Thx for any tips.
--
Frederic P. Soulier
OpenPGP key available on http://pgpkeys.mit.edu/
1024D/BA6700ED 49A6 8E8E 4230 8D41 1ADE B649 3203 1DD2 BA67 00ED