Miguel Grinberg
288ebb189d
Eliminate race conditions on disconnect ( Fixes #1441 )
1 month ago
Miguel Grinberg
7605630bb2
Allow custom client subclasses to be used in SimpleClient and AsyncSimpleClient ( Fixes #1432 )
2 months ago
Miguel Grinberg
8fe012abbb
Stop using deprecated datetime functions
4 months ago
Miguel Grinberg
b75fd31625
Fix admin instrumentation to support disconnect reasons ( Fixes #1423 )
4 months ago
Miguel Grinberg
bd8555da85
Pass a `reason` argument to the disconnect handler ( #1422 )
4 months ago
humayunsr
b6ee33e56c
Prevent multiple tasks for reconnection ( #1369 )
* Prevent multiple taks for reconnection
As discussed here.
https://github.com/miguelgrinberg/python-socketio/discussions/1367
In certain scenarios, this library creates multiple reconnection tasks.
A check is added to make sure that reconnection task starts only when
this task is not running.
Signed-off-by: Humayun Ajmal <[email protected] >
* async client
---------
Signed-off-by: Humayun Ajmal <[email protected] >
Co-authored-by: Miguel Grinberg <[email protected] >
4 months ago
Arseny
78d1124c50
fix AsyncClient::wait unexpected return after success reconnect ( #1407 )
* fix AsyncClient::wait unexpected return after success reconnect
AsyncClient::wait use sleep(1) call to wait to start reconnect task.
Sometimes reconnect is faster then 1 second, and wait returns while connection to server is established.
Added one check to avoid this situation
* Making added check easier to understand in source code
* fix Client::wait unexpected return after success reconnect
* fixes
---------
Co-authored-by: Miguel Grinberg <[email protected] >
4 months ago
Miguel Grinberg
db642bb2bd
Upgrade the code to more recent Python versions
4 months ago
Masen Furer
bf5a05ae9b
server.py: teeny docstring typo fix ( #1421 )
Noticed while perusing the documentation, so submitting a micropatch.
4 months ago
Peter Bierma
72d37ea79f
Fix typo with `AsyncClient.connect` example ( #1403 )
5 months ago
Miguel Grinberg
5f83cd0f7b
Renamed flask-socketio references to python-socketio ( Fixes #1377 )
7 months ago
Miguel Grinberg
1b901de007
prevent crash when client sends empty event
7 months ago
Pavieł Michalkievič
f1476041e5
Enable emitting to single client in managers with to=... ( #1374 )
* Enable emitting to single client in AsyncPubSubManager
* Handle `to` in async manager and sync versions
* Name tests consistently
* Rm extra blank line in test_pubsub_manager
8 months ago
Miguel Grinberg
5e78ecbc34
Minor updates to the server and client documentation
10 months ago
Miguel Grinberg
469b7c0dd5
Ignore catch-all namespace in client connections ( Fixes #1351 )
10 months ago
Miguel Grinberg
811e044a46
New shutdown() method added to the client ( Fixes #1333 )
11 months ago
Ruslan Bel'kov
e593519692
Accept 0 as a callback id ( #1329 )
12 months ago
asuka
bd39b8f215
Improved routing to catch-all namespace handlers ( #1316 )
1 year ago
Miguel Grinberg
7cc84bd13d
Option to disable routing in ASGIApp
1 year ago
Miguel Grinberg
b4f36148d8
Optional connection retries ( Fixes #1306 )
1 year ago
Miguel Grinberg
0e1f23229d
use Socket.IO sid in transport() method ( Fixes #1299 )
1 year ago
Hugo van Kemenade
417785293f
Add support for Python 3.12 and drop 3.7 ( #1297 )
1 year ago
Miguel Grinberg
3ab1f273e2
Make Admin UI tests less flaky #nolog
1 year ago
Miguel Grinberg
12134bd5c5
Prevent pubsub managers from ever crashing
Fixes #1262
1 year ago
Miguel Grinberg
2f07824347
Hold references to background tasks to avoid garbage collection ( Fixes #1191 )
1 year ago
Miguel Grinberg
1f488b03b6
Clearer documentation for the `max_http_buffer_size` argument ( Fixes #1272 )
1 year ago
Miguel Grinberg
29c794333e
Documentation typos
1 year ago
Miguel Grinberg
0a54ec6ae4
Improved catch-all handler documentation
1 year ago
mooomooo
801241378e
Support catch-all namespaces ( Fixes #1288 )
1 year ago
Miguel Grinberg
4bf48776ca
Reporting to Socket.IO Admin UI ( #1164 )
2 years ago
[object Object]
d40b3a33ff
Update `ping_timeout` documented default to accord with current Engine.IO behavior ( #1255 )
2 years ago
Miguel Grinberg
58b57068ab
Internal code restructure (no functional changes)
2 years ago
Miguel Grinberg
ef0f88f6cf
Internal code restructure (no functional changes)
2 years ago
Miguel Grinberg
d222f4c3de
Support entering and leaving rooms through pubsub client managers
2 years ago
Miguel Grinberg
8e3460c5fc
Async versions of enter_room and leave_room should be coroutines (breaking change)
2 years ago
Miguel Grinberg
8da3c617a6
Remove unneeded arguments from super()
2 years ago
Miguel Grinberg
dc6e4f516f
Message queue optimizations ( Fixes #1240 )
2 years ago
Miguel Grinberg
c419fc5481
Add a shutdown() function for the server
2 years ago
Miguel Grinberg
699ee9c47a
Context manager interface for the simple clients
2 years ago
Miguel Grinberg
55d6310eb3
Simplified client ( #1237 )
2 years ago
Miguel Grinberg
bf11ad36ae
Optimize memory usage during broadcasts ( #1233 )
2 years ago
Sasja
598dd7e258
fix docstring typo: client/server mixup ( #1163 )
* fix docstring typo: client/server mixup
* fix docstring typo: client/server mixup
2 years ago
Miguel Grinberg
8293dc3f8f
Made kombu client manager more robust and efficient
2 years ago
Miguel Grinberg
cd7f781c02
Made aio_pika client manager more robust and efficient ( Fixes #1142 )
2 years ago
Onwuka Gideon
270eb372cc
Fix documentation typo ( #1155 )
2 years ago
Miguel Grinberg
8c747ab67b
Fix documentation typos
2 years ago
riz-j
b2cc86cfb2
Fix typo in asyncio_server.py ( #1150 )
2 years ago
Miguel Grinberg
1cadada02d
Expose the ignore_queue option in namespaces ( Fixes #1103 )
2 years ago
Miguel Grinberg
de4d5b51e5
Do not automatically import zmq
2 years ago
Miguel Grinberg
232cef1f86
Correctly handle emits to multiple rooms in the async server ( Fixes #1081 )
2 years ago