Fix http client

This commit is contained in:
md_5 2013-08-10 07:30:41 +10:00
parent a07eba7965
commit 773ce089c1

View File

@ -63,7 +63,7 @@ public class HttpClient
HttpRequest request = new DefaultHttpRequest( HttpVersion.HTTP_1_1, HttpMethod.GET, path );
request.headers().set( HttpHeaders.Names.HOST, uri.getHost() );
future.channel().write( request );
future.channel().writeAndFlush( request );
} else
{
callback.done( null, future.cause() );