Netty Snoop-like implementation does not receive server response data

161 views Asked by At

I've implemented a Netty Snoop-like HTTP server and client.

The server can be tested easily with a browser - it works as expected. The client is harder to test but through debugging I can tell that it receives the headers just fine but it doesn't seem to receive the HTTP response body.

Since I know the server is sending the body (by checking in the browser) I'm wondering why the client code can't see it, or maybe can't decode it.

I am using Netty 4.0.15 as it appears to be the most stable release right now. You can see my version of the ClientHandler and ClientInitalizer classes at http://pastebin.com/tQ6d72pn And you can see my ServerHandler and ServerInitalizer classes at http://pastebin.com/JbHrTEkg

No doubt I'm doing something stupid, any help would be really great!

0

There are 0 answers