From 5eeee3a677e3c5ba356872481d036f0633f3d3bc Mon Sep 17 00:00:00 2001 From: komuw Date: Tue, 18 Feb 2020 19:04:27 +0300 Subject: [PATCH 1/2] v --- naz/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naz/client.py b/naz/client.py index e420693e..2c593c7b 100644 --- a/naz/client.py +++ b/naz/client.py @@ -2315,7 +2315,7 @@ async def _unbind_and_disconnect(self): await self.unbind() async with self.drain_lock: await self.writer.drain() - self.writer.close() + self.writer.write_eof() except ( ConnectionError, TimeoutError, From 86b2a4ece78d738ade0ad8ab68cbf79d53a4bd91 Mon Sep 17 00:00:00 2001 From: komuw Date: Tue, 18 Feb 2020 19:07:55 +0300 Subject: [PATCH 2/2] v --- CHANGELOG.md | 4 ++++ naz/__version__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9886d76f..e70959ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ most recent version is listed first. +## **version:** v0.7.9 +- During shutdown, only close the writer without closing the reader end of the transport: https://github.com/komuw/naz/pull/198 + + ## **version:** v0.7.8 - Rename `naz.Client.rateLimiter` to `naz.Client.rate_limiter`: https://github.com/komuw/naz/pull/195 This was done so as to maintain consistency with other `naz.Client` attributes. diff --git a/naz/__version__.py b/naz/__version__.py index 71760c36..f00567b4 100644 --- a/naz/__version__.py +++ b/naz/__version__.py @@ -2,7 +2,7 @@ "__title__": "naz", "__description__": "Naz is an async SMPP client.", "__url__": "https://github.com/komuw/naz", - "__version__": "v0.7.8", + "__version__": "v0.7.9", "__author__": "komuW", "__author_email__": "komuw05@gmail.com", "__license__": "MIT",