-
Notifications
You must be signed in to change notification settings - Fork 965
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
Simplify ConnectionHandler
trait by removing as many associated types as possible
#2863
Open
8 of 14 tasks
Labels
tracking-issue
Issues which are the entry point to bigger projects.
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This was referenced Sep 2, 2022
This comment was marked as outdated.
This comment was marked as outdated.
8 tasks
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This was referenced Dec 20, 2022
4 tasks
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
4 tasks
4 tasks
4 tasks
4 tasks
thomaseizinger
added
tracking-issue
Issues which are the entry point to bigger projects.
and removed
difficulty:moderate
help wanted
labels
Sep 20, 2023
thomaseizinger
changed the title
swarm/handler: Decouple
Decouple Sep 20, 2023
ConnectionHandler
from {In,Out}boundUpgrade
ConnectionHandler
from {In,Out}boundUpgrade
thomaseizinger
changed the title
Decouple
Simplify Sep 20, 2023
ConnectionHandler
from {In,Out}boundUpgrade
ConnectionHandler
trait by removing as many associated types as possible
This was referenced Sep 26, 2023
mergify bot
pushed a commit
that referenced
this issue
Oct 26, 2023
This patch refactors `libp2p-request-response` to not use the "upgrade infrastructure" provided by `libp2p-swarm`. Instead, we directly convert the negotiated streams into futures that read and write the messages. Related: #3268. Related: #2863. Pull-Request: #3914. Co-authored-by: Yiannis Marangos <yiannis@eiger.co>
This was referenced Nov 2, 2023
4 tasks
umgefahren
pushed a commit
to umgefahren/rust-libp2p
that referenced
this issue
Mar 8, 2024
This patch refactors `libp2p-request-response` to not use the "upgrade infrastructure" provided by `libp2p-swarm`. Instead, we directly convert the negotiated streams into futures that read and write the messages. Related: libp2p#3268. Related: libp2p#2863. Pull-Request: libp2p#3914. Co-authored-by: Yiannis Marangos <yiannis@eiger.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplify the
ConnectionHandler
interface. This is one of the first interfaces users get in touch with when the implement their own protocols. Making it as simple as possible without removing functionality should be the goal. All but{To,From}Behaviour
should be removed and we should directly hand the negotiated stream to theConnectionHandler
without any form of "upgrade".Sub-epics
ConnectionHandler::{In,Out}boundOpenInfo
#3268ConnectionHandler::Error
#3591Use
ReadyUpgrade
everywhere{In,Out}boundUpgrade
#4075ReadyUpgrade
for{In,Out}boundUpgrade
#4563ReadyUpgrade
for{In,Out}boundUpgrade
#4649Migration plan
{In,Out}boundConnectionUpgrade
traits #4307{In,Out}boundUpgrade
in transports to{In,Out}boundConnectionUpgrade
#4521{In,Out}boundUpgrade
tolibp2p-swarm
#4697{In,Out}boundUpgrade
#4790The text was updated successfully, but these errors were encountered: