92 Révisions (e982934f6b8de8f124c5a425ca29ebf323a109ee)
 

Auteur SHA1 Message Date
  Richard Nyberg e982934f6b Remove unused constants. il y a 19 ans
  Richard Nyberg 80214ff0fb Code shuffle. il y a 19 ans
  Richard Nyberg 9ba7dc69fc Put the net state related data in its own sub struct. il y a 19 ans
  Richard Nyberg 2bc4a5d83a Constify some functions. il y a 19 ans
  Richard Nyberg 062d08cb60 net_state should return ssize_t not int. il y a 19 ans
  Richard Nyberg f963072983 Better method of reading data from peers. btpd could send data to peers il y a 19 ans
  Richard Nyberg 32a88ff5d8 Rewrite of the code for receiving data from peers. il y a 19 ans
  Richard Nyberg d5bf714f1d More logging. il y a 19 ans
  Richard Nyberg 777c7e641d Changes for 0.6. il y a 19 ans
  Richard Nyberg faad18e368 In the transition to end game it's likely that we'll send an uniterest il y a 19 ans
  Richard Nyberg aa1fe4b2dd Send a new request to a peer after sending cancel. il y a 19 ans
  Richard Nyberg 6bf02797d7 x il y a 19 ans
  Richard Nyberg 2123189ca4 Bump version to 0.6. il y a 19 ans
  Richard Nyberg f31e2d8b89 * Allocate request messages on piece creation. The request objects can il y a 19 ans
  Richard Nyberg d8720e889c Use the piece destructor. il y a 19 ans
  Richard Nyberg dc45054fe8 Add some macros. il y a 19 ans
  Richard Nyberg a67eaf47cb Simplify the autocrap somewhat. Always include the #defines needed il y a 19 ans
  Richard Nyberg 08dcc6b892 Remove a bad assert. The test can be true during normal operation. il y a 19 ans
  Richard Nyberg eaf95339c7 Set an upper limit on how many piece messages to queue for il y a 19 ans
  Richard Nyberg fcbec726e5 Only allocate one have message for all peers, instead of one per peer. il y a 19 ans
  Richard Nyberg 2acdcff5a6 * Rearrange some code. Mostly from net to net_buf and peer. il y a 19 ans
  Richard Nyberg e485377f95 The fix for bitfield in r59 wasn't quite correct. Instead of il y a 19 ans
  Richard Nyberg 8115e481fa Wrong logmask was used. il y a 19 ans
  Richard Nyberg 77177de52c Set version to 0.4. il y a 19 ans
  Richard Nyberg 0537ec3edd Add items for 0.4. il y a 19 ans
  Richard Nyberg 01191f2561 Spelling. il y a 19 ans
  Richard Nyberg aa50cbe63a Removed the info entry in the net_buf. The information can easily il y a 19 ans
  Richard Nyberg 1e1846b8f3 Better tests. peer_laden is needed beacuse the peer might have il y a 19 ans
  Richard Nyberg c11a57b8cb Fix style. Remove unnecessary check for EINTR. il y a 19 ans
  Richard Nyberg 17a1f68906 All files: il y a 19 ans
  Richard Nyberg af31e76618 * Don't hold a net_buf on allocation. Do it when it's really needed instead. il y a 19 ans
  Richard Nyberg bf2c2c6338 Make sure we don't empty the outq and leave the write callback enabled. il y a 19 ans
  Richard Nyberg 4f916d8abd Remove dead code. il y a 19 ans
  Richard Nyberg 9cc1ffda34 Rework the outgoing network buffers. The buffers now contain more il y a 19 ans
  Richard Nyberg 762b3560a5 Missing space. il y a 19 ans
  Richard Nyberg aa31f523a3 Queue the bitfield for sending after the handshake is completed. il y a 19 ans
  Richard Nyberg fcc9418b92 At each bandwidth call the remaining bandwidht counter is set to limit / hz. il y a 19 ans
  Richard Nyberg 3ae85c522a Spelling. il y a 19 ans
  Richard Nyberg f671c4f965 Use the old simpler bandwidth limiter, but run it at a configurable rate. il y a 19 ans
  Richard Nyberg f65633c531 Set a 60s timeout on writes. If a write times ut the peer in question will il y a 19 ans
  Richard Nyberg 40ffcd13c2 Kill a peer when write indicates a closed connection. il y a 19 ans
  Richard Nyberg 1aee379342 Speling. il y a 19 ans
  Richard Nyberg ee7abdea2a The assert is only valid if we haven't transitioned to end game. il y a 19 ans
  Richard Nyberg 3d6221834c Remove fixed item. il y a 19 ans
  Richard Nyberg b7e1e47ae4 Add item for 0.3. il y a 19 ans
  Richard Nyberg 6bcb6d3816 Code shuffle. il y a 19 ans
  Richard Nyberg 0ce6fa1d0c * Use torrent_get_piece instead of loop. Check for correctness. il y a 19 ans
  Richard Nyberg 7ced6added Prepare for release 0.3. il y a 19 ans
  Richard Nyberg c25ede2479 Clear flag for busy blocks when entering end game. il y a 19 ans
  Richard Nyberg 3f6e384568 No need to test piece_full in end game mode. il y a 19 ans