Commit graph

81 commits

Author SHA1 Message Date
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
shortcutme
31077eb346 Move uPnP port remove to fileserver 2016-10-02 14:22:01 +02:00
ZeroNet
906f6c65d9 Merge pull request #577 from sirMackk/upnp_update
Closes #466 - Close ports on exit + minor refactoring w/ tests
2016-10-01 13:24:48 +02:00
shortcutme
a7de4aca91 Stop connection loop when closed 2016-09-14 10:54:08 +02:00
shortcutme
1c86a6c58a Close connection on crypt error 2016-09-14 10:53:47 +02:00
sirMackk
bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
ZeroNet
238cb25bb4 Small incoming connection optimization 2016-08-10 12:51:38 +02:00
HelloZeroNet
e9af4a5f6b Cleanup not useful connections after 5 min 2016-04-25 02:24:05 +02:00
HelloZeroNet
75a5ab9441 Track used site per connection 2016-04-25 02:23:06 +02:00
HelloZeroNet
2a8355dba7 Formatting 2016-04-25 02:20:55 +02:00
HelloZeroNet
1beb4fc2cb Less sensitive internet checker 2016-04-09 19:31:26 +02:00
HelloZeroNet
2353eed64c Less sensitive offline checker 2016-03-23 13:05:13 +01:00
Erkan Yilmaz
b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet
f3c8d5e541 Better internet outage detection based on last message from connections 2016-03-19 18:14:09 +01:00
HelloZeroNet
ef699b2f91 Typo 2016-03-18 20:01:23 +01:00
HelloZeroNet
555c136143 Simple connection karma to avoid update flood 2016-03-12 23:09:26 +01:00
HelloZeroNet
1dbc33445f Rev903, FeedQuery command only available for ADMIN sites, Show bad files in sidebar, Log unknown messages, Add and check inner_path and site address on sign/verify, Better peer cleanup limit, Log site load times, Testcase for address and inner_path verification, Re-sign testsite with new fields, Fix unnecessary loading screen display when browsing sub-folder with index.html, Fix safari notification width 2016-02-18 11:22:21 +01:00