Commit Graph

41 Commits

Author SHA1 Message Date
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
d64337bf90 Implement Intermediate protocol using asyncio 2018-06-11 12:25:30 +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
dc322ddf1a Expose TCP class 2018-06-10 16:14:30 +02:00
Dan
7a6d7d0037 Implement async TCP protocol 2018-06-09 19:36:23 +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
98ebad3428 Add TCP Intermediate obfuscated protocol 2018-05-30 19:29:03 +02:00
Dan
55010e4f1f Add TCPAbridgedO to Connection modes 2018-05-29 12:20:42 +02:00
Dan
0866dfa1dd Make TCPAbridgedO importable 2018-05-28 19:58:36 +02:00
Dan
78aa7aea2a Add TCP Abridged obfuscated protocol 2018-05-28 19:57:57 +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
65c209000c Connection refactoring 2018-05-24 21:19:57 +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
5f414626ef Refactor tcp_intermediate 2018-05-16 21:14:05 +02:00
Dan
64fe9163d2 Refactor tcp_abridged 2018-05-15 19:17:22 +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
42a2878842 Don't use sys.exit(), re-raise ImportError instead 2018-03-26 03:39:30 +02:00
Dan
52c482f1e4 Use a better error message 2018-03-26 02:03:36 +02:00
Dan
440654a63f Log info when disconnecting 2018-03-20 18:54:05 +01:00
Dan
8e538199ea Log info when using a proxy 2018-02-21 13:34:27 +01:00
Dan
5e6361defc Set socket timeout to 10s 2018-02-15 21:06:04 +01:00
Dan
bdfba51410 Revert "Switch back to port 443"
This reverts commit 89daf09
2018-01-30 13:35:23 +01:00
Dan
89daf09500 Switch back to port 443 2018-01-29 14:20:16 +01:00
Dan
4784ba53e1 Remove redundant code 2018-01-18 12:22:16 +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
0aed7bf24a Use socks socket to allow enabling a proxy 2018-01-16 16:26:20 +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
dde01cc9b9 Fix unhandled exception in case the connection is already closed 2017-12-18 13:50:00 +01:00
Dan
c83daf8771 Correctly shutdown the socket 2017-12-17 13:50:43 +01:00
Dan
981d644288 Add connection package 2017-12-05 12:37:30 +01:00