Project

General

Profile

Actions

Feature #5916

closed

msgr: allow connect to multi-addr peer

Added by Sage Weil over 10 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

add a multi-addr get_connection() method that lets you specify an ordered list of peer addrs. try them in succession.

if one fails at connect-type, fall back and try the next.

in particular, we want to try rsockets and then fall back to IP. we should probably not fall back on any random disconnect, but only when we get a suggestive error at the connect() stage.


Related issues 1 (0 open1 closed)

Related to Messengers - Feature #5915: msgr: allow binding to multiple addresses, address typesResolvedSage Weil08/08/2013

Actions
Actions

Also available in: Atom PDF