python-engineio 4.13.3__tar.gz → 4.13.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_engineio-4.13.3/src/python_engineio.egg-info → python_engineio-4.13.4}/PKG-INFO +1 -1
- {python_engineio-4.13.3 → python_engineio-4.13.4}/pyproject.toml +1 -1
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/_websocket_wsgi.py +2 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/client.py +14 -2
- {python_engineio-4.13.3 → python_engineio-4.13.4/src/python_engineio.egg-info}/PKG-INFO +1 -1
- {python_engineio-4.13.3 → python_engineio-4.13.4}/LICENSE +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/MANIFEST.in +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/README.md +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/docs/_static/README.md +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/setup.cfg +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/__init__.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_client.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/__init__.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/aiohttp.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/asgi.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/eventlet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/gevent.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/gevent_uwsgi.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/sanic.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/threading.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/tornado.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_server.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_socket.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/base_client.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/base_server.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/base_socket.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/exceptions.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/json.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/middleware.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/payload.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/server.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/socket.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/static_files.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/SOURCES.txt +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/dependency_links.txt +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/not-zip-safe +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/requires.txt +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/top_level.txt +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/__init__.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/index.html +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_aiohttp.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_asgi.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_client.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_sanic.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_server.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_socket.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/async/test_tornado.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/__init__.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/index.html +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_client.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_middleware.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_payload.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_server.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/common/test_socket.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/README.md +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/binary_b64_packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/binary_packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/json_packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/payload.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/run.sh +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/server_receive.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tests/performance/text_packet.py +0 -0
- {python_engineio-4.13.3 → python_engineio-4.13.4}/tox.ini +0 -0
|
@@ -508,7 +508,13 @@ class Client(base_client.BaseClient):
|
|
|
508
508
|
|
|
509
509
|
if self.write_loop_task: # pragma: no branch
|
|
510
510
|
self.logger.info('Waiting for write loop task to end')
|
|
511
|
-
|
|
511
|
+
try:
|
|
512
|
+
# the write loop task cleans its own task when it ends, so we
|
|
513
|
+
# avoid a race condition when using threads with a try/catch
|
|
514
|
+
self.write_loop_task.join()
|
|
515
|
+
except AttributeError: # pragma: no cover
|
|
516
|
+
if self.write_loop_task is not None:
|
|
517
|
+
raise # for any erros not related to task == None we raise
|
|
512
518
|
if self.state == 'connected':
|
|
513
519
|
self._trigger_event('disconnect', self.reason.TRANSPORT_ERROR,
|
|
514
520
|
run_async=False)
|
|
@@ -559,7 +565,13 @@ class Client(base_client.BaseClient):
|
|
|
559
565
|
|
|
560
566
|
if self.write_loop_task: # pragma: no branch
|
|
561
567
|
self.logger.info('Waiting for write loop task to end')
|
|
562
|
-
|
|
568
|
+
try:
|
|
569
|
+
# the write loop task cleans its own task when it ends, so we
|
|
570
|
+
# avoid a race condition when using threads with a try/catch
|
|
571
|
+
self.write_loop_task.join()
|
|
572
|
+
except AttributeError: # pragma: no cover
|
|
573
|
+
if self.write_loop_task is not None:
|
|
574
|
+
raise # for any erros not related to task == None we raise
|
|
563
575
|
if self.state == 'connected':
|
|
564
576
|
self._trigger_event('disconnect', self.reason.TRANSPORT_ERROR,
|
|
565
577
|
run_async=False)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.13.3 → python_engineio-4.13.4}/src/engineio/async_drivers/gevent_uwsgi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.13.3 → python_engineio-4.13.4}/src/python_engineio.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|