Telethon/telethon
Lonami Exo 8be7e76b74 Use the idling state instead checking if read thread is present
This caused some multithreading bugs, for instance, when there was
no read thread and the main thread was idling, and there were some
update workers. Several threads would try to read from the socket
at the same time (since there's no lock for reading), causing
reads to be corrupted and receiving "invalid packet lengths"
from the network. Closes #538.
2018-01-14 21:20:22 +01:00
..
crypto Move utils.calc_msg_key into auth_key (cyclic imports py3.4) 2018-01-08 12:07:14 +01:00
errors Make exception types correspond to Python docs 2017-12-28 09:48:02 +10:00
extensions Also handle ECONNREFUSED on .connect() (report on #392) 2018-01-08 12:26:32 +01:00
network Add more useful logging on invalid packet length received 2018-01-13 19:26:45 +01:00
tl Assert hash is not None when migrating from JSON sessions 2018-01-10 10:46:43 +01:00
__init__.py Use NullHandler as default for the library 2017-11-13 10:59:43 +01:00
helpers.py Move utils.calc_msg_key into auth_key (cyclic imports py3.4) 2018-01-08 12:07:14 +01:00
telegram_bare_client.py Use the idling state instead checking if read thread is present 2018-01-14 21:20:22 +01:00
telegram_client.py Fix asking for phone on .start() 2018-01-13 12:00:53 +01:00
update_state.py Make a proper use of the logging module 2017-12-20 12:47:39 +01:00
utils.py Remove optional add_mark parameter from .get_peer_id 2017-12-28 13:31:43 +01:00
version.py Update to v0.16.1 2018-01-11 22:18:58 +01:00