GridConnectionBytesVerifyFilter is asymmetric.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GridConnectionBytesVerifyFilter is asymmetric.

Vladimir Ozerov
Igniters,

I noticed that GridConnectionBytesVerifyFilter checks for a special header
during message reads, but do not prepend this header during message writes
when acting as a client.
As a result, if the filter is used in NIO server, we have to manually send
magic header before we can start actually using the server in client mode.

Is there any reason why it was implemented that way? Can we make it
symmetric? Ticket is created:
https://issues.apache.org/jira/browse/IGNITE-1215

Vladimir.