14 Commits

Author SHA1 Message Date
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidn 83e6ac718e merged RC_2_0 into master 2021-05-24 01:53:14 +02:00
arvidn 5715583c4a merged RC_1_2 into RC_2_0 2021-05-23 12:00:32 +02:00
arvidn cb0e6c7425 fix test_timeout to work with the simulation constructor resetting the simulated clock 2021-05-23 11:23:51 +02:00
arvidn 6375df4539 merged RC_2_0 into master 2021-03-29 07:38:16 +02:00
arvidn 72b9e05f58 raise the severity of peers sending invalid messages to 'peer_error'. Simplify m_upload_only to just record the explicit upload-only state communicated via the extension message. Implied upload only is moved to the upload_only() query. Add simulations for peer connection tests. Mostly for have-all, have-none and bitfields, and some simple invalid requests. This will serve as a platform to add more sophisticated tests. 2021-03-27 21:25:48 +01:00
arvidn e0d4b8cf6b merged RC_2_0 into master 2021-03-17 19:28:25 +01:00
arvidn 68daecdada merged RC_1_2 into RC_2_0 2021-03-16 20:59:46 +01:00
arvidn bbe554d4f6 allow no-interest timeouts of peer connections before all connections slots are full 2021-03-16 20:23:15 +01:00
arvidn b40801a3a3 merge RC_2_0 into master 2021-01-30 14:35:30 +01:00
arvidn fa53a4d723 merged RC_1_2 into RC_2_0 2021-01-26 23:17:05 +01:00
arvidn dfb9dbfeb6 prevent a time-out because no incoming requests have been received, when we're still waiting to respond to previous requests 2021-01-25 14:53:14 +01:00