Skip to content

Commit 02c62df

Browse files
vsemozhetbytjasnell
authored andcommitted
doc: remove invalid hash in link
Sections in the https://tools.ietf.org/html/rfc1122 are not linkable anymore. Replace the possibly confusing hash with the explicit section number in the text. PR-URL: #15542 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 4907ae7 commit 02c62df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/net.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ If `allowHalfOpen` is set to `true`, when the other end of the socket
10011001
sends a FIN packet, the server will only send a FIN packet back when
10021002
[`socket.end()`][] is explicitly called, until then the connection is
10031003
half-closed (non-readable but still writable). See [`'end'`][] event
1004-
and [RFC 1122][half-closed] for more information.
1004+
and [RFC 1122][half-closed] (section 4.2.2.13) for more information.
10051005

10061006
If `pauseOnConnect` is set to `true`, then the socket associated with each
10071007
incoming connection will be paused, and no data will be read from its handle.
@@ -1126,7 +1126,7 @@ Returns true if input is a version 6 IP address, otherwise returns false.
11261126
[Identifying paths for IPC connections]: #net_identifying_paths_for_ipc_connections
11271127
[Readable Stream]: stream.html#stream_class_stream_readable
11281128
[duplex stream]: stream.html#stream_class_stream_duplex
1129-
[half-closed]: https://tools.ietf.org/html/rfc1122#section-4.2.2.13
1129+
[half-closed]: https://tools.ietf.org/html/rfc1122
11301130
[socket(7)]: http://man7.org/linux/man-pages/man7/socket.7.html
11311131
[unspecified IPv4 address]: https://en.wikipedia.org/wiki/0.0.0.0
11321132
[unspecified IPv6 address]: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address

0 commit comments

Comments
 (0)