Commit Graph

41 Commits

Author SHA1 Message Date
Dan
928ce5d850 Merge develop -> asyncio 2019-09-08 19:27:37 +02:00
Dan
a015f998fa Revert "Stop instantiating logger objects and directly use the logging module"
This reverts commit 792068d7
2019-09-08 19:24:06 +02:00
Dan
8f0b8babc2 Merge develop -> asyncio 2019-09-08 13:26:10 +02:00
Dan
792068d7c8 Stop instantiating logger objects and directly use the logging module 2019-09-08 12:59:28 +02:00
Dan
ce72a7edd9 Merge develop -> asyncio 2019-09-07 13:40:26 +02:00
Dan
4de203a81c Add information about test/production servers when logging connections 2019-08-13 13:18:51 +02:00
Dan
7f79210ba3 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/dispatcher/dispatcher.py
#	requirements.txt
2019-01-02 19:55:45 +01:00
Dan
4d7b1bafac Update copyright year 2019-01-01 12:36:16 +01:00
Dan
9c7db1046e Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-11-05 17:44:40 +01:00
Dan
03f57cd2af Use TCPAbridgedO as default connection mode 2018-11-05 17:33:12 +01:00
Dan
d5c2ca2e1d Use TCPAbridged (async) connection mode 2018-10-08 20:18:20 +02:00
Dan
980807f1de Remove TODO 2018-10-08 20:17:47 +02:00
Dan
84492fb942 Add an extra warning in case connection fails 2018-09-18 21:28:44 +02:00
Dan
f4a8848603 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/connection/connection.py
2018-09-15 22:19:39 +02:00
Dan
05b3be1e88 Info log DC number on connection 2018-09-08 19:33:47 +02:00
Dan
10f3829c93 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/connection/connection.py
#	pyrogram/connection/transport/tcp/tcp.py
#	pyrogram/connection/transport/tcp/tcp_intermediate.py
#	pyrogram/session/session.py
2018-09-01 01:05:25 +02:00
Dan
ef9fc969d3 Info log connection settings 2018-08-29 22:20:00 +02:00
Dan
1bc599e26c Delegate timeout to TCP 2018-06-17 19:20:22 +02:00
Dan
b249062d25 Add a warning in case the connection failed 2018-06-17 19:17:56 +02:00
Dan
5d58ff2d94 Raise OSError in case "send" fails 2018-06-17 18:45:08 +02:00
Dan
52354b93d0 Add timeout when connecting 2018-06-17 18:44:45 +02:00
Dan
f76c654548 Add TODO 2018-06-13 20:02:02 +02:00
Dan
d38d23f46d Log in case connection fails (to test ipv6) 2018-06-13 13:39:06 +02:00
Dan
efe26bcb19 Allow Connection to connect to ipv6 addresses 2018-06-13 13:35:41 +02:00
Dan
ead0b4f029 Use more relevant names for Connection fields 2018-06-10 16:15:19 +02:00
Dan
6ab60c0d36 Add type hint 2018-06-10 16:14:42 +02:00
Dan
de39c181ef Start refactoring Connection to accommodate asyncio 2018-06-08 13:10:07 +02:00
Dan
cc2c3509be Add TCPIntermediateO to Connection modes 2018-05-30 19:29:45 +02:00
Dan
55010e4f1f Add TCPAbridgedO to Connection modes 2018-05-29 12:20:42 +02:00
Dan
b04bce9dba Lower connection retries to 3 2018-05-25 14:26:01 +02:00
Dan
81d3d5956c Don't try to indefinitely reconnect at Connection layer 2018-05-25 12:37:03 +02:00
Dan
1cd7e28b50 Rename TCP protocol impl files 2018-05-19 15:50:10 +02:00
Dan
c531e6d146 Rename protocol impl files 2018-05-18 13:47:47 +02:00
Dan
6dcdeda244 Make proxy loading simpler 2018-04-13 12:30:13 +02:00
Dan
1736a8ea9b Use port 443 for production servers 2018-04-11 23:37:59 +02:00
Dan
440654a63f Log info when disconnecting 2018-03-20 18:54:05 +01:00
Dan
ba21430512 Add SOCKS5 proxy support 2018-01-16 22:05:19 +01:00
Dan
e9f6bce579 Reformat connection classes to accommodate proxy settings 2018-01-16 16:33:28 +01:00
Dan
d70c2bb564 Update copyright year 2018-01-01 13:24:07 +01:00
Dan
b23b41bc7d Lock the send method for every tcp mode, not only for tcp_full 2017-12-18 14:14:44 +01:00
Dan
981d644288 Add connection package 2017-12-05 12:37:30 +01:00