Skip to content

Commit

Permalink
Merge branch 'release/v0.6.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyqs committed Dec 6, 2017
2 parents 5a5e3f6 + 4b04742 commit 3af2e4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion nats/aio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from nats.aio.utils import new_inbox
from nats.protocol.parser import *

__version__ = '0.6.3'
__version__ = '0.6.4'
__lang__ = 'python3'
PROTOCOL = 1

Expand Down Expand Up @@ -584,6 +584,14 @@ def _select_next_server(self):
loop=self._loop,
limit=DEFAULT_BUFFER_SIZE)
srv = s

# We keep a reference to the initial transport we used when
# establishing the connection in case we later upgrade to TLS
# after getting the first INFO message. This is in order to
# prevent the GC closing the socket after we send CONNECT
# and replace the transport.
#
# See https://github.com/nats-io/asyncio-nats/issues/43
self._bare_io_reader = self._io_reader = r
self._bare_io_writer = self._io_writer = w
break
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
url='https://github.com/nats-io/asyncio-nats',
author='Waldemar Quevedo',
Expand Down

0 comments on commit 3af2e4c

Please sign in to comment.