108 Revīzijas (db4e9b869d0434dbb621a7dcc87e06e8c7beb727)
 

Autors SHA1 Ziņojums Datums
  Richard Nyberg db4e9b869d This is very much a intermediate commit. pirms 19 gadiem
  Richard Nyberg 3f6d7576a5 Use a flag (PF_DO_UNWANT) to indicate that we should send an uninterest pirms 19 gadiem
  Richard Nyberg c46a6b4998 Just bump version number. pirms 19 gadiem
  Richard Nyberg 71b986e549 Step one of many to make the sub systems more modular. This commit gets pirms 19 gadiem
  Richard Nyberg 8033ec33a1 Set version to 0.7. Update CHANGES. pirms 19 gadiem
  Richard Nyberg e025c4743a Add a new net state to get the index and begin fields from piece messages pirms 19 gadiem
  Richard Nyberg 0cae0e478d Have a peer event for keep alives too. Its only function is to log atm. pirms 19 gadiem
  Richard Nyberg e5cd773d85 Wait until we don't have any unanswered requests on a peer before pirms 19 gadiem
  Richard Nyberg 87f94f9d5f Log keep alives. pirms 19 gadiem
  Richard Nyberg a263d2f9f6 Accept pieces even if they arrive in a different order than the pirms 19 gadiem
  Richard Nyberg 74c5b19492 Logging. pirms 19 gadiem
  Richard Nyberg 93053ce34a Remove unsent requests from the write queue when we receive a choke. pirms 19 gadiem
  Richard Nyberg a8817eee1a Enable all logging if DEBUG is defined. pirms 19 gadiem
  Richard Nyberg 89b0b8b359 More logging: discarded pieces and peer_id. pirms 19 gadiem
  Richard Nyberg 28fcbed3c5 #include <limits.h> to be sure to get IOV_MAX. pirms 19 gadiem
  Richard Nyberg 2dc98c39b6 Fix two bugs. Add some logging. pirms 19 gadiem
  Richard Nyberg e982934f6b Remove unused constants. pirms 19 gadiem
  Richard Nyberg 80214ff0fb Code shuffle. pirms 19 gadiem
  Richard Nyberg 9ba7dc69fc Put the net state related data in its own sub struct. pirms 19 gadiem
  Richard Nyberg 2bc4a5d83a Constify some functions. pirms 19 gadiem
  Richard Nyberg 062d08cb60 net_state should return ssize_t not int. pirms 19 gadiem
  Richard Nyberg f963072983 Better method of reading data from peers. btpd could send data to peers pirms 19 gadiem
  Richard Nyberg 32a88ff5d8 Rewrite of the code for receiving data from peers. pirms 19 gadiem
  Richard Nyberg d5bf714f1d More logging. pirms 19 gadiem
  Richard Nyberg 777c7e641d Changes for 0.6. pirms 19 gadiem
  Richard Nyberg faad18e368 In the transition to end game it's likely that we'll send an uniterest pirms 19 gadiem
  Richard Nyberg aa1fe4b2dd Send a new request to a peer after sending cancel. pirms 19 gadiem
  Richard Nyberg 6bf02797d7 x pirms 19 gadiem
  Richard Nyberg 2123189ca4 Bump version to 0.6. pirms 19 gadiem
  Richard Nyberg f31e2d8b89 * Allocate request messages on piece creation. The request objects can pirms 19 gadiem
  Richard Nyberg d8720e889c Use the piece destructor. pirms 19 gadiem
  Richard Nyberg dc45054fe8 Add some macros. pirms 19 gadiem
  Richard Nyberg a67eaf47cb Simplify the autocrap somewhat. Always include the #defines needed pirms 19 gadiem
  Richard Nyberg 08dcc6b892 Remove a bad assert. The test can be true during normal operation. pirms 19 gadiem
  Richard Nyberg eaf95339c7 Set an upper limit on how many piece messages to queue for pirms 19 gadiem
  Richard Nyberg fcbec726e5 Only allocate one have message for all peers, instead of one per peer. pirms 19 gadiem
  Richard Nyberg 2acdcff5a6 * Rearrange some code. Mostly from net to net_buf and peer. pirms 19 gadiem
  Richard Nyberg e485377f95 The fix for bitfield in r59 wasn't quite correct. Instead of pirms 19 gadiem
  Richard Nyberg 8115e481fa Wrong logmask was used. pirms 19 gadiem
  Richard Nyberg 77177de52c Set version to 0.4. pirms 19 gadiem
  Richard Nyberg 0537ec3edd Add items for 0.4. pirms 19 gadiem
  Richard Nyberg 01191f2561 Spelling. pirms 19 gadiem
  Richard Nyberg aa50cbe63a Removed the info entry in the net_buf. The information can easily pirms 19 gadiem
  Richard Nyberg 1e1846b8f3 Better tests. peer_laden is needed beacuse the peer might have pirms 19 gadiem
  Richard Nyberg c11a57b8cb Fix style. Remove unnecessary check for EINTR. pirms 19 gadiem
  Richard Nyberg 17a1f68906 All files: pirms 19 gadiem
  Richard Nyberg af31e76618 * Don't hold a net_buf on allocation. Do it when it's really needed instead. pirms 19 gadiem
  Richard Nyberg bf2c2c6338 Make sure we don't empty the outq and leave the write callback enabled. pirms 19 gadiem
  Richard Nyberg 4f916d8abd Remove dead code. pirms 19 gadiem
  Richard Nyberg 9cc1ffda34 Rework the outgoing network buffers. The buffers now contain more pirms 19 gadiem