airlift / drift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
242 stars 92 forks source link

Check if pooled connection is still open #95

Closed arhimondr closed 5 years ago

arhimondr commented 5 years ago

Closing a netty channel is an asynchronous operation. Before the connection is closed, a new request may come in and grab a connection that is about to be closed by the previous request.

arhimondr commented 5 years ago

@dain @electrum comments addressed

arhimondr commented 5 years ago

@dain updated