Skip to content

Commit 4b54c64

Browse files
authored
identify/: Don't close connection on protocol version mismatch (#360)
Previous versions of this specification required connections to be closed on version mismatch. This requirement is revoked to allow interoperability between protocol families / networks.
1 parent d8130f4 commit 4b54c64

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

identify/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
| Lifecycle Stage | Maturity Level | Status | Latest Revision |
77
|-----------------|----------------|--------|-----------------|
8-
| 3A | Recommendation | Active | r0, 2019-05-01 |
8+
| 3A | Recommendation | Active | r1, 2021-08-09 |
99

1010
Authors: [@vyzo]
1111

@@ -85,10 +85,14 @@ message Identify {
8585

8686
### protocolVersion
8787

88-
The protocol version identifies the family of protocols used by the peer.
89-
The current protocol version is `ipfs/0.1.0`; if the protocol major or minor
90-
version does not match the protocol used by the initiating peer, then the connection
91-
is considered unusable and the peer must close the connection.
88+
The protocol version identifies the family of protocols used by the peer. The
89+
field is optional but recommended for debugging and statistic purposes.
90+
91+
Previous versions of this specification required connections to be closed on
92+
version mismatch. This requirement is revoked to allow interoperability between
93+
protocol families / networks.
94+
95+
Example value: `/my-network/0.1.0`.
9296

9397
### agentVersion
9498

0 commit comments

Comments
 (0)