Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ipfs p2p #4929

Merged
merged 44 commits into from
Sep 13, 2018
Merged

Refactor ipfs p2p #4929

merged 44 commits into from
Sep 13, 2018

Commits on Sep 11, 2018

  1. p2p: cleanup listening logic, make dial act like ssh -L

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a037ae6 View commit details
    Browse the repository at this point in the history
  2. p2p: Optimize registry, move stream stuff around

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a0ad8cf View commit details
    Browse the repository at this point in the history
  3. p2p: remove redundant listener address check

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    633b04e View commit details
    Browse the repository at this point in the history
  4. p2p: add peer address to peerstore if specified

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    8b7bf26 View commit details
    Browse the repository at this point in the history
  5. p2p: Only use reset on streams

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    132d6fa View commit details
    Browse the repository at this point in the history
  6. p2p: fix some stuff after refactor

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    cf6ddcb View commit details
    Browse the repository at this point in the history
  7. p2p: turns out we need half-open streams

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    6a1d709 View commit details
    Browse the repository at this point in the history
  8. p2p: implement forward cmd

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    48d83be View commit details
    Browse the repository at this point in the history
  9. p2p: refactor local/remote

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    2487c99 View commit details
    Browse the repository at this point in the history
  10. p2p: p2p ls

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    067154f View commit details
    Browse the repository at this point in the history
  11. p2p: rework stream/listener registration

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    df6540e View commit details
    Browse the repository at this point in the history
  12. p2p: make registries thread safer

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    058edaf View commit details
    Browse the repository at this point in the history
  13. p2p: fix sharness tests after refactor

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    e8ba4fc View commit details
    Browse the repository at this point in the history
  14. improve the documentation for the p2p feature

    License: MIT
    Signed-off-by: Steven Allen <steven@stebalien.com>
    Stebalien authored and magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    0198693 View commit details
    Browse the repository at this point in the history
  15. p2p: update docs after refactor

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    e4db7f7 View commit details
    Browse the repository at this point in the history
  16. p2p: fix ci

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    0465079 View commit details
    Browse the repository at this point in the history
  17. p2p: fix codeclimate warnings

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    3e0184b View commit details
    Browse the repository at this point in the history
  18. p2p: refactor first review

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    830ed48 View commit details
    Browse the repository at this point in the history
  19. p2p: additional example

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    9ba8bc5 View commit details
    Browse the repository at this point in the history
  20. p2p: don't automatically prefix proto with /p2p

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    df6decd View commit details
    Browse the repository at this point in the history
  21. p2p: update deps after rebase

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    df0e566 View commit details
    Browse the repository at this point in the history
  22. p2p: change the required prefix to /x/

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    c191028 View commit details
    Browse the repository at this point in the history
  23. p2p: allow-custom-protocol option

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    eb45436 View commit details
    Browse the repository at this point in the history
  24. p2p: split forward into 2 commands

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    f5ab137 View commit details
    Browse the repository at this point in the history
  25. p2p: refactor review

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a3c84e2 View commit details
    Browse the repository at this point in the history
  26. p2p: fix remote/local listener races

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    4c98eda View commit details
    Browse the repository at this point in the history
  27. p2p: test to ensure closing right linsters

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    5e8725d View commit details
    Browse the repository at this point in the history
  28. p2p: fix imports after rebase

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    3c6a168 View commit details
    Browse the repository at this point in the history
  29. p2p: more locks

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    8849193 View commit details
    Browse the repository at this point in the history
  30. p2p: tag connections in connection manager

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    4badcdc View commit details
    Browse the repository at this point in the history
  31. p2p: use host.SetStreamHandlerMatch for now

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    0f9d284 View commit details
    Browse the repository at this point in the history
  32. p2p: rebase updates

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    35eaa16 View commit details
    Browse the repository at this point in the history
  33. p2p: test for double-registering listeners

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    8756764 View commit details
    Browse the repository at this point in the history
  34. p2p: hold lock when handling new streams

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    d184433 View commit details
    Browse the repository at this point in the history
  35. p2p: test custom protocol

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a5e5b5b View commit details
    Browse the repository at this point in the history
  36. p2p: separate listener types

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    dd48b82 View commit details
    Browse the repository at this point in the history
  37. p2p: cleanup after listener iface split

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    bba2d05 View commit details
    Browse the repository at this point in the history
  38. p2p: fix connmgr use

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    c509050 View commit details
    Browse the repository at this point in the history
  39. p2p: deduplicate some listeners logic

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    228a71a View commit details
    Browse the repository at this point in the history
  40. p2p: simplify remote handler matching

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    05bc3bd View commit details
    Browse the repository at this point in the history
  41. p2p: fix docstrings

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    80b8940 View commit details
    Browse the repository at this point in the history
  42. p2p: simplify listener startup

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    f5cb640 View commit details
    Browse the repository at this point in the history
  43. p2p: rebase import updates

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    0b575bc View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. p2p: Close on Listeners

    License: MIT
    Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
    magik6k committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    b53936a View commit details
    Browse the repository at this point in the history