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 17, 2024
1 parent cf2070a commit abc2f7f
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 abc2f7f

Please sign in to comment.