This changes the channel handlers for the Proxy to match what the IMAPServerHandler and IMAPClientHandler now expect.
Motivation:
The Proxy command currently is unable to proxy IMAP connections.
Modifications:
This modifies the MailClientToProxyHandler's InboundIn to expect CommandStreamPart rather than SynchronizedCommand, modfiies ProxyToMailServerHandler.channelRead to write a Response rather than a ByteBuffer and modifies Proxy/main to add the ByteToMessageHandler(FrameDecoder()) channel handler before the IMAPServerHandler(), so it gets a FramingResult as input.
This changes the channel handlers for the Proxy to match what the IMAPServerHandler and IMAPClientHandler now expect.
Motivation:
The Proxy command currently is unable to proxy IMAP connections.
Modifications:
This modifies the MailClientToProxyHandler's InboundIn to expect CommandStreamPart rather than SynchronizedCommand, modfiies ProxyToMailServerHandler.channelRead to write a Response rather than a ByteBuffer and modifies Proxy/main to add the ByteToMessageHandler(FrameDecoder()) channel handler before the IMAPServerHandler(), so it gets a FramingResult as input.
Result:
Proxy should successfully proxy IMAP connections.
fixes #764