Skip to content

Commit

Permalink
Bug fix: fixed the problem with the HTTP/1.1 async protocol handler i…
Browse files Browse the repository at this point in the history
…ncorrectly reporting its state as CLOSED immediately after its instantiation until #onConnect event has been triggered
  • Loading branch information
ok2c committed Oct 18, 2024
1 parent bf5871c commit 7a9465b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ public void close(final CloseMode closeMode) {

@Override
public boolean isOpen() {
return connState == ConnectionState.ACTIVE;
return connState.compareTo(ConnectionState.ACTIVE) <= 0;
}

@Override
Expand Down

0 comments on commit 7a9465b

Please sign in to comment.