Commit Graph
2527 Commits
Author SHA1 Message Date
Adrien Béraud 02e8638b7f Merge pull request #3 from savoirfairelinux/feature/ValueSerializable
Merge new type system
2015-04-16 13:46:34 -04:00
Adrien Béraud ee40fa2bc7 values: use unpackValue in unpackVector 2015-04-16 13:45:49 -04:00
Adrien Béraud c99f4ea653 types: read recipient for IceCandidates 2015-04-16 13:17:30 -04:00
Adrien Béraud f68f03dd7b dhtchat: allow to send encrypted messages 2015-04-16 11:36:48 -04:00
Adrien Béraud 61e6f39568 types: make ImMessage optionally encrypted 2015-04-16 11:36:10 -04:00
Adrien Béraud 29ca90927b types: fix EncryptedValue filter 2015-04-16 11:35:25 -04:00
Adrien Béraud 9861175675 types: new ValueSerializable API, separate default types 2015-04-15 15:51:02 -04:00
Adrien Béraud 1783f3da01 Update README.md 2015-04-13 00:36:02 -04:00
Adrien Béraud 6c42df6c8a Merge pull request #2 from benkant/fix-dhtchat-compile
tools: fix dhtchat compile, include random
2015-04-08 10:09:09 -04:00
Ben Giles 953b512d32 tools: fix dhtchat compile, include random 2015-04-08 08:40:32 +02:00
Adrien Béraud d42f404f26 dht: improve update time consistency 2015-04-07 11:07:48 -04:00
Adrien Béraud 0518051cf9 Update README.md 2015-04-06 17:07:40 -04:00
Adrien Béraud 06988396e9 searches: only remove old expired nodes 2015-04-06 12:35:09 -04:00
Adrien Béraud 8512c01149 dht: update doc 2015-04-06 02:08:08 -04:00
Adrien Béraud d03f09f810 dht: proprely update receive time 2015-04-06 02:07:47 -04:00
Adrien Béraud 39b8ca3fce searches: prefer to remove expired nodes 2015-04-06 00:04:10 -04:00
Adrien Béraud 8f9089abba dht: don't expire some ongoing searches 2015-04-05 23:31:27 -04:00
Adrien Béraud 45e32892c6 dht: don't unexpire expired nodes on request 2015-04-04 21:07:46 -04:00
Adrien Béraud 777a5035d2 searches: introduce expired internal state 2015-04-04 16:50:15 -04:00
Adrien Béraud 5eeaa6b6d3 fix buffer overflow on Win32 2015-04-03 01:01:17 -04:00
Adrien Béraud 5920b2bac3 infohash: make string constructor explicit 2015-04-02 17:03:13 -04:00
Adrien Béraud ae1f33ac2d android: properly detect host 2015-04-02 15:45:02 -04:00
Adrien Béraud b1fb02448c fix build for android 2015-04-01 15:22:13 -04:00
Adrien Béraud be6317e62a fix build for Win32 2015-04-01 14:49:45 -04:00
Edric 017cda7a34 Update Makefile.am
Fix for mingw-ld
2015-04-01 14:49:44 -04:00
Adrien Béraud 1ae29f201d dht: timeout searches with no synced nodes 2015-03-30 11:47:48 -04:00
Adrien Béraud fd554bf969 dhtchat: cleanup 2015-03-30 11:47:48 -04:00
Adrien Béraud 1b10e5952c tools: remove unsued includes 2015-03-30 11:47:48 -04:00
Adrien Béraud 8166fdb052 Update README.md 2015-03-29 16:35:02 -04:00
Adrien Béraud 2063d5f980 Update example with bootstrap
Also make the example compilable.
2015-03-29 13:20:14 -04:00
Adrien Béraud 30d5ad5f33 dhtrunner: add bootstrap from host and service strings 2015-03-29 13:09:36 -04:00
Adrien Béraud 66dcc893f0 dhtrunner: move include to cpp 2015-03-29 13:09:36 -04:00
Adrien Béraud 0610a3c706 Update README.md 2015-03-29 10:38:37 -04:00
Adrien Béraud 530e825722 Update README.md 2015-03-29 00:24:26 -04:00
Adrien Béraud 95dfaea256 value: add constructors for C-style raw data 2015-03-26 11:26:03 -04:00
Adrien Béraud 9b1647e81c value: add constructor with move sementics for data 2015-03-26 11:26:03 -04:00
Adrien Béraud 6399cb701b value: fix warning 2015-03-26 11:26:03 -04:00
Adrien Béraud effa48ad7f Add link to documentation 2015-03-25 15:52:18 -04:00
Adrien Béraud 97f8b633f0 dhtrunner: don't block for more than 250ms 2015-03-24 16:44:58 -04:00
Adrien Béraud e2878b104f chat: fix warning 2015-03-23 15:29:14 -04:00
Adrien Béraud e638f014ab dht: nodecache factoring 2015-03-23 15:29:01 -04:00
Adrien Béraud ac1e322dac clarify logs for lastest changes 2015-03-23 15:02:33 -04:00
Adrien Béraud 571ccac012 always cache new nodes 2015-03-23 15:02:11 -04:00
Adrien Béraud a8bd2a6ee1 use node reply time for MSG_CONFIRM 2015-03-23 14:59:48 -04:00
Adrien Béraud 13385faaf4 add tryInsertSearch 2015-03-23 14:06:53 -04:00
Adrien Béraud 736d4f77c7 fix nullptr access 2015-03-23 14:06:09 -04:00
Adrien Béraud 441cad2e86 bootstrap: carry sockaddr length 2015-03-18 15:09:44 -04:00
Adrien Béraud 955b68a439 dht: reduce listen period from 10 to 3 minutes 2015-03-17 13:29:49 -04:00
Adrien Béraud 643dbc6268 dht: keep bad nodes in searches 2015-03-17 12:08:26 -04:00
Adrien Béraud 5de9bcfab0 dht: use std::map::emplace instead of insert where possible 2015-03-16 17:50:26 -04:00