Network cleanup (#6310)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 25 Aug 2017 13:53:56 +0000 (15:53 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2017 13:53:56 +0000 (15:53 +0200)
commit3cea7a349ac55df93b3eac1bf40365e00e472480
treef1b45da38389e406c242d83f581f016f542b9300
parentf6a33a1a7a298cb7d3fb18818bae97bd1b89d633
Network cleanup  (#6310)

* Move Connection threads to dedicated files + various cleanups

* ConnectionReceiveThread::processPacket now uses function pointer table to route MT packet types
* Various code style fixes

* Code style with clang-format

* Various SharedBuffer copy removal

* SharedBuffer cannot be copied anymore using Buffer
* Fix many SharedBuffer copy (thanks to delete operator)
src/defaultsettings.cpp
src/network/CMakeLists.txt
src/network/connection.cpp
src/network/connection.h
src/network/connectionthreads.cpp [new file with mode: 0644]
src/network/connectionthreads.h [new file with mode: 0644]
src/network/networkpacket.cpp
src/network/networkpacket.h
src/unittest/test_connection.cpp
src/util/pointer.h
util/travis/clang-format-whitelist.txt