nabu
nabu copied to clipboard
Rewrite HTTP proxy
- It's not safe adding handlers after connect() - it could be the case when data arrives earlier than handlers added and it would just be discarded
- Need to double check if it's safe to invoke write() when connect() ChannelFuture completes. Basically the channel is ready for writing on channelActive event (see ChannelInboundHandler)