cgbystrom / netty-tools

A collection of tools useful when working with JBoss Netty.
MIT License
259 stars 68 forks source link

Thrift for Netty4.1Beta #17

Open gitdaemon opened 10 years ago

gitdaemon commented 10 years ago

Hi

Thanks for the netty tools. I am using Netty4.1Beta, since Netty removed channel buffer and added Bytebuf i changed Channelbuffer into ByteBuf and tried. I could send the request properly, server could decode it properly and it could respond, but after server send the response, client hanging and it could not read the response. I tried with debugger, it is getting hanged when it tries to read asynchronously. In this line byte aByte = input.take(); - TNettyTransport.java it is getting hanged. Can you please help me to pass this? Can you provide any sample code for Netty4.1Beta?

Thanks