shortcutme
|
511731f0b4
|
Add current timestamp to handshake for future time consensus feature
|
2018-03-10 02:04:14 +01:00 |
|
shortcutme
|
bca5d8a6c5
|
Use msgpack pip package everywhere
|
2018-02-27 02:48:15 +01:00 |
|
shortcutme
|
af57083afd
|
Handle ip change on onion connection correctly
|
2018-02-27 02:46:56 +01:00 |
|
shortcutme
|
f10233a0a6
|
New msgpack compatible stream handling
|
2018-02-27 02:46:26 +01:00 |
|
shortcutme
|
cd822156c9
|
Rev3328, Fix CLI siteDownload, siteAnnounce, siteNeedFile commands
|
2018-02-13 13:18:40 +01:00 |
|
shortcutme
|
e85c5e3b36
|
Rev3327, Add compatbility with new msgpack version
|
2018-02-13 01:35:21 +01:00 |
|
shortcutme
|
c39ff89fab
|
Read only what we need
|
2018-02-12 14:28:45 +01:00 |
|
shortcutme
|
3f19f64efd
|
Properly recover extra data from unpacker
|
2018-02-12 14:27:38 +01:00 |
|
shortcutme
|
f9091ea951
|
Don't connect to myself
|
2018-02-08 18:01:48 +01:00 |
|
shortcutme
|
8b9d75d726
|
Don't mark passive local connections as not connectable
|
2018-02-08 18:01:34 +01:00 |
|
shortcutme
|
7e4a4459b4
|
Don't multiplex local connection
|
2018-02-08 17:59:27 +01:00 |
|
shortcutme
|
70fd33e587
|
Message from local peer does not means internet connection
|
2018-02-08 17:58:44 +01:00 |
|
shortcutme
|
6fb9c6ef05
|
Rev3234, Ignore unknown characters from connection logging
|
2018-01-30 18:59:26 +01:00 |
|
shortcutme
|
ee30f78ab0
|
Fix logging utf8 chars in connections
|
2018-01-30 13:59:39 +01:00 |
|
shortcutme
|
566b689ca6
|
Don't connect to private ip addresses in tor always mode
|
2018-01-30 13:59:18 +01:00 |
|
shortcutme
|
4afb6b3d9c
|
Limit connections to 512 by default
|
2018-01-27 12:20:40 +01:00 |
|
shortcutme
|
18d3e8905e
|
Longer timeout for tor peers
|
2018-01-27 12:19:57 +01:00 |
|
shortcutme
|
fd14a4ac80
|
Don't create connection to blacklisted peer
|
2018-01-27 12:19:37 +01:00 |
|
shortcutme
|
03c469ff3a
|
Formatting
|
2018-01-19 02:16:50 +01:00 |
|
shortcutme
|
c122dc108a
|
Record received and sent requests
|
2018-01-19 02:16:33 +01:00 |
|
shortcutme
|
19c335e39a
|
Fix bytes sent stats
|
2017-10-13 01:22:16 +02:00 |
|
shortcutme
|
d32303de57
|
Increase buffer size for file streaming
|
2017-10-13 01:21:45 +02:00 |
|
shortcutme
|
de360a8585
|
Received and sent connection command statistics
|
2017-10-13 01:21:05 +02:00 |
|
shortcutme
|
24c1596048
|
Keep track last received command for connection
|
2017-10-13 01:19:34 +02:00 |
|
shortcutme
|
8b3ff6454f
|
Limit connections to 500, backlog to 100
|
2017-10-11 14:22:23 +02:00 |
|
shortcutme
|
52a468d9fd
|
Allow 10 second for reponse
|
2017-10-03 14:34:21 +02:00 |
|
shortcutme
|
2cf86642a2
|
Run connection cleanup every 15 seconds
|
2017-10-03 14:32:31 +02:00 |
|
shortcutme
|
e76164c7a9
|
Change the posistion of handleStream function
|
2017-10-03 14:32:02 +02:00 |
|
shortcutme
|
bf0d359116
|
Increase buffer size to 64k to better performance for big files
|
2017-10-03 14:31:39 +02:00 |
|
shortcutme
|
5f37bf3eef
|
Enable TCP_NODELAY if supported
|
2017-10-03 14:31:16 +02:00 |
|
shortcutme
|
d8453384ab
|
Separate socket creation and connection to be able to cancel it
|
2017-10-03 14:30:19 +02:00 |
|
shortcutme
|
f4cdc31788
|
Lock socket during sending data
|
2017-10-03 14:27:29 +02:00 |
|
shortcutme
|
4f729aa98f
|
Only use pure-python msgpack for socket streaming
|
2017-08-09 14:17:58 +02:00 |
|
shortcutme
|
71fbcee76c
|
Fix error on exiting when there is no stream_server started
|
2017-06-20 20:28:09 +02:00 |
|
shortcutme
|
15d8589069
|
Fix typo, less verbose socket logging
|
2017-06-19 16:18:37 +02:00 |
|
shortcutme
|
14cd9315c1
|
Don't try to send to closed socket
|
2017-06-19 16:18:20 +02:00 |
|
shortcutme
|
f1786c2ee6
|
Handle unknown message type
|
2017-06-19 16:16:43 +02:00 |
|
shortcutme
|
7d9cb65ba1
|
Catch message type errors on connection parsing
|
2017-06-19 16:16:13 +02:00 |
|
shortcutme
|
fae5d22e86
|
Rev2054, Outgoing socket binding support
|
2017-04-14 16:05:42 +02:00 |
|
shortcutme
|
10632c15ef
|
Fix target_onion on connection recovery
|
2017-04-10 12:19:23 +02:00 |
|
shortcutme
|
c5c0df838f
|
Store requested onion address instead of site_lock
|
2017-04-09 12:02:24 +02:00 |
|
shortcutme
|
461f0a274a
|
Only count ping time if no waiting requests
|
2017-03-02 23:40:30 +01:00 |
|
shortcutme
|
06ddf26d09
|
Increase command timeout
|
2017-02-27 00:05:27 +01:00 |
|
shortcutme
|
bad2a79f05
|
Reason for connection closing
|
2017-02-27 00:02:24 +01:00 |
|
shortcutme
|
d57d82f439
|
Rev1913, Support local address other than 127.0.0.1
|
2017-02-16 20:56:07 +01:00 |
|
shortcutme
|
889c88c492
|
Close connection after 40 bad action
|
2017-01-05 02:25:16 +01:00 |
|
shortcutme
|
9a1735f37d
|
Rev1791, Fix gevent 1.2 compatibility
|
2016-12-27 11:37:58 +01:00 |
|
shortcutme
|
de5eb43da1
|
Warnings instead of errors
|
2016-11-07 23:48:34 +01:00 |
|
shortcutme
|
0774662689
|
Allow more connection backlog
|
2016-11-07 22:52:34 +01:00 |
|
shortcutme
|
6201612169
|
Store cpu time used by connection
|
2016-11-07 22:52:22 +01:00 |
|