1. 26 4月, 2017 8 次提交
    • Merge pull request #3879 from kpcyrd/dist_get_fix · 095230ee
      dist_get: handle 404 correctly
      Jeromy Johnson 提交于
    • dist_get: handle 404 correctly · 49b90a07
      This prevents a 404 page getting piped into tar.
      
      It's also adding the openbsd http(s) client `ftp`.
      
      License: MIT
      Signed-off-by: 's avatarkpcyrd <git@rxv.cc>
      kpcyrd 提交于
    • Merge pull request #3876 from dgrisham/master · 213358b1
      bug fix: Bitswap now records 'BytesSent' in ledger
      Jeromy Johnson 提交于
    • Merge pull request #3877 from ipfs/feat/update-cbor · a34c5eac
      deps: bubble up cbor update
      Jeromy Johnson 提交于
    • deps: bubble up cbor update · 126d249d
      License: MIT
      Signed-off-by: 's avatarLars Gierth <larsg@systemli.org>
      Lars Gierth 提交于
    • tests: bitswap ledger tests modified · 4789a622
      Updated the `TestBitswapLedger*` tests and added assertions to check concrete
      values for ledgers (rather than just checking that two peers' ledgers match).
      The names for these tests were also changed from the previous commit, according
      to 's/BytesSent/Ledger/'.
      
      License: MIT
      Signed-off-by: 's avatarDavid Grisham <dgrisham@mines.edu>
      dgrisham 提交于
    • tests + data dependency fix: `BytesSent` bug now completely fixed · 74e19eae
      Tests were added to ensure that the bug fix in commit 000fbd25 was correct.
      The tests caught an error where a peer's ledger was not properly locked when
      updating it in the `MessageSent()` function. The appropriate calls to lock the
      ledger were made, and the tests successfully passed.
      
      License: MIT
      Signed-off-by: 's avatarDavid Grisham <dgrisham@mines.edu>
      dgrisham 提交于
    • bug fix: `BytesSent` in peers' ledgers now updates · 0514504d
      When sending data to another user, the number of bytes sent to that user (saved
      by the corresponding Bitswap ledger) was not updated (it was always 0). This
      also meant that the debt ratio was also always 0.
      
      The function that updates the `BytesSent` value in the ledger, `MessageSent()`,
      was already implemented, however it was not called when the peer was sent data.
      To fix this, a call to `MessageSent()` was made in the `taskWorker()` function,
      which is where both the message in question and the Bitswap engine were
      available to make the call. `MessageSent()` requires the peer's ID and
      `BitSwapMessage` as its arguments, the latter of which had to be created by
      making a new `BitSwapMessage`, then the block being sent was added to the new
      message.
      
      Note that, similar to the analagous call to `MessageReceived()`, records *all*
      of the bytes sent to a particular user. At some point, both of these should be
      updated to only record the numbers of *useful* bytes sent and received between
      peers.
      
      License: MIT
      Signed-off-by: 's avatarDavid Grisham <dgrisham@mines.edu>
      dgrisham 提交于
  2. 24 4月, 2017 3 次提交
  3. 21 4月, 2017 1 次提交
  4. 20 4月, 2017 5 次提交
  5. 19 4月, 2017 1 次提交
  6. 18 4月, 2017 1 次提交
  7. 17 4月, 2017 3 次提交
  8. 15 4月, 2017 2 次提交
  9. 05 4月, 2017 1 次提交
  10. 31 3月, 2017 2 次提交
  11. 30 3月, 2017 7 次提交
  12. 29 3月, 2017 2 次提交
  13. 28 3月, 2017 1 次提交
  14. 27 3月, 2017 1 次提交
  15. 25 3月, 2017 2 次提交