Skip to content

Commit e17a452

Browse files
author
Stephane Landelle
committed
typo
1 parent 591430f commit e17a452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/netty/src/main/java/org/asynchttpclient/providers/netty/NettyAsyncHttpProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,8 +2268,8 @@ public void handle(ChannelHandlerContext ctx, MessageEvent e) throws Exception {
22682268
s = new ResponseStatus(future.getURI(), response, NettyAsyncHttpProvider.this);
22692269
final boolean statusReceived = h.onStatusReceived(s) == STATE.UPGRADE;
22702270

2271-
final boolean headeOK = h.onHeadersReceived(responseHeaders) == STATE.CONTINUE;
2272-
if (!headeOK || !validStatus || !validUpgrade || !validConnection || !statusReceived) {
2271+
final boolean headerOK = h.onHeadersReceived(responseHeaders) == STATE.CONTINUE;
2272+
if (!headerOK || !validStatus || !validUpgrade || !validConnection || !statusReceived) {
22732273
abort(future, new IOException("Invalid handshake response"));
22742274
return;
22752275
}

0 commit comments

Comments
 (0)