Commit Graph

33 Commits

Author SHA1 Message Date
Robert Habermeier 36d3d0d7d7 replace synchronization primitives with those from parking_lot (#1593)
* parking_lot in cargo.toml

* replace all lock invocations with parking_lot ones

* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Arkadiy Paronyan ec654feaf8 Syncing fix (#1320)
* Fixed aborting peer for expired session

* Don't ban for usesless
2016-06-18 15:10:24 +02:00
arkpar 8c7bcdafdb Continue reading session data in the same iteration if available 2016-06-13 20:57:04 +02:00
Arkadiy Paronyan 6b12334136 Windows build (#1253)
* Networking refactoring

* Fixed typo

* Trace logging

* Updated dependencies for windows build

* Windows fixes

* use mio 0.5

* nix build

* Windows build fix

* style

* removed unused import

* ipc crate version bump

* ipc config for named pipes

* tweaks and fixes

* tweaks and fixes

* final version bump

* Fixed tests

* Disable color output on windows

* Added missing doc
2016-06-13 18:55:24 +02:00
Arkadiy Paronyan 8596a347ea Networking refactoring (#1172)
* Networking refactoring

* Make sure the same socket is reused

* Safer atomic ordering

* Replaced eq with ==
2016-06-02 11:49:56 +02:00
Arkadiy Paronyan c34e3535e0 Net etiquette: Track useless peers, Send out disconnect packet (#1028) 2016-05-02 14:48:30 +02:00
Tomasz Drwięga 85da55a537 Fixing warnings 2016-04-06 10:55:40 +02:00
NikVolf f9c0e0c152 removed from util 2016-03-26 19:08:06 +03:00
Tomasz Drwięga 4b6e1dd4d2 Fixing warnings 2016-03-12 10:25:51 +01:00
arkpar 003d1fd0cc Network tracing improvements 2016-03-05 23:32:38 +01:00
arkpar 000d2446b5 EIP8 2016-02-22 23:05:27 +01:00
arkpar 91276ad82e Added comments 2016-02-21 16:52:25 +01:00
arkpar b1bfd00875 Zombie connections 2016-02-20 11:47:39 +01:00
arkpar 69df91de68 Deregister handshake properly when converting to session 2016-02-20 01:36:08 +01:00
arkpar 4b9c7f7517 Add incoming connection to node table 2016-02-15 19:54:27 +01:00
arkpar 718646f943 Refactored host to use different containers for handshakes and sessions 2016-02-14 11:34:59 +01:00
arkpar 09b6503795 Discovery packets 2016-02-12 09:52:32 +01:00
debris c90d64662a added license in every *.rs file 2016-02-05 13:40:41 +01:00
Nikolay Volf ec30a0a591 connection read tests 2016-02-03 21:01:39 +03:00
Nikolay Volf f85b9eb75b Merge branch 'master' into nvolf 2016-02-03 19:00:05 +03:00
Nikolay Volf 84e1c77938 broken sockets 2016-02-03 18:59:35 +03:00
Nikolay Volf 834f8a07eb socket write tests 2016-02-03 18:40:54 +03:00
Nikolay Volf df18d8104d final network tests di setup 2016-02-03 18:05:46 +03:00
Nikolay Volf e86a680b23 test sockets, connections setup 2016-02-03 14:04:24 +03:00
Nikolay Volf 206cb6b227 decoupling sockets from logic for tests 2016-02-03 03:55:18 +03:00
arkpar 05e86ca63c Peers keep-alive 2016-02-02 20:58:12 +01:00
arkpar cd250d4959 Incoming connections; Tests 2016-01-24 18:54:05 +01:00
arkpar cfb8671b00 Networking bugfixes 2016-01-24 18:54:05 +01:00
arkpar acbb50d700 Stream deregistration 2016-01-24 18:54:05 +01:00
arkpar e5e0d3d136 Merge branch 'master' of github.com:ethcore/parity into io 2016-01-22 14:44:17 +01:00
arkpar e514d3d80f Multithreaded event loop 2016-01-21 16:48:37 +01:00
Tomusdrw 062193ceb5 Fixing clippy errors in util 2016-01-19 12:14:29 +01:00
Gav Wood 6ea8eaa3b5 Move ethcore files back into root. 2016-01-17 13:11:25 +01:00