Closed leklund closed 7 years ago
@leklund, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bschwartz, @freerobby and @alieander to be potential reviewers
@leklund Thanks for this! Sorry for taking more than a week to review this. Looks great to me and specs are passing. Going to merge and bump patch versions.
Thanks @bschwartz! No worries about the delay. Happy Holidays! ☃️
Without calling
@socket.close
, the sockets will be left open whenclose_connection
is called.This PR fixes an issue described in #34
Changes:
@socket.close
when closing the connection just before setting it to nilsync_close
to true when upgrading to an SSL connection so that the underlying TCP connection is closed at the same time.