Typo in the comment

This commit is contained in:
Trustin Lee 2010-04-16 06:44:48 +00:00
parent d38219a85c
commit f1bba73b22

View File

@ -128,7 +128,7 @@ public class HttpClientCodec implements ChannelUpstreamHandler,
return true; return true;
} }
// Successful CONNECT result in empty body. // Successful CONNECT request results in a response with empty body.
if (((HttpResponse) msg).getStatus().getCode() == 200) { if (((HttpResponse) msg).getStatus().getCode() == 200) {
if (HttpMethod.CONNECT.equals(method)) { if (HttpMethod.CONNECT.equals(method)) {
// Proxy connection established - Not HTTP anymore. // Proxy connection established - Not HTTP anymore.