Skip to content

Commit 02388db

Browse files
gromnitskysilverwind
authored andcommitted
doc: fix some cross-references
PR-URL: #1584 Reviewed-By: Roman Reiss <[email protected]>
1 parent 3fd7fc4 commit 02388db

6 files changed

+14
-14
lines changed

doc/api/crypto.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,10 @@ temporary measure.
763763

764764
[createCipher()]: #crypto_crypto_createcipher_algorithm_password
765765
[createCipheriv()]: #crypto_crypto_createcipheriv_algorithm_key_iv
766-
[crypto.createDiffieHellman()]: #crypto_crypto_creatediffiehellman_prime_encoding
766+
[crypto.createDiffieHellman()]: #crypto_crypto_creatediffiehellman_prime_prime_encoding_generator_generator_encoding
767767
[tls.createSecureContext]: tls.html#tls_tls_createsecurecontext_details
768768
[diffieHellman.setPublicKey()]: #crypto_diffiehellman_setpublickey_public_key_encoding
769769
[RFC 2412]: http://www.rfc-editor.org/rfc/rfc2412.txt
770770
[RFC 3526]: http://www.rfc-editor.org/rfc/rfc3526.txt
771-
[crypto.pbkdf2]: #crypto_crypto_pbkdf2_password_salt_iterations_keylen_callback
771+
[crypto.pbkdf2]: #crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback
772772
[EVP_BytesToKey]: https://www.openssl.org/docs/crypto/EVP_BytesToKey.html

doc/api/http.markdown

+5-5
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ already been bound to a port or domain socket.
201201
Listening on a file descriptor is not supported on Windows.
202202

203203
This function is asynchronous. The last parameter `callback` will be added as
204-
a listener for the ['listening'](net.html#event_listening_) event.
204+
a listener for the ['listening'](net.html#net_event_listening) event.
205205
See also [net.Server.listen()](net.html#net_server_listen_handle_callback).
206206

207207
### server.close([callback])
@@ -1082,11 +1082,11 @@ authentication details.
10821082
[http.request()]: #http_http_request_options_callback
10831083
[net.Server.close()]: net.html#net_server_close_callback
10841084
[net.Server.listen(path)]: net.html#net_server_listen_path_callback
1085-
[net.Server.listen(port)]: net.html#net_server_listen_port_host_backlog_callback
1086-
[response.end()]: #http_response_end_data_encoding
1087-
[response.write()]: #http_response_write_chunk_encoding
1085+
[net.Server.listen(port)]: net.html#net_server_listen_port_hostname_backlog_callback
1086+
[response.end()]: #http_response_end_data_encoding_callback
1087+
[response.write()]: #http_response_write_chunk_encoding_callback
10881088
[response.writeContinue()]: #http_response_writecontinue
1089-
[response.writeHead()]: #http_response_writehead_statuscode_reasonphrase_headers
1089+
[response.writeHead()]: #http_response_writehead_statuscode_statusmessage_headers
10901090
[socket.setKeepAlive()]: net.html#net_socket_setkeepalive_enable_initialdelay
10911091
[socket.setNoDelay()]: net.html#net_socket_setnodelay_nodelay
10921092
[socket.setTimeout()]: net.html#net_socket_settimeout_timeout_callback

doc/api/https.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ See [http.close()][] for details.
7070
Makes a request to a secure web server.
7171

7272
`options` can be an object or a string. If `options` is a string, it is
73-
automatically parsed with [url.parse()](url.html#url.parse).
73+
automatically parsed with [url.parse()](url.html#url_url_parse_urlstr_parsequerystring_slashesdenotehost).
7474

7575
All options from [http.request()][] are valid.
7676

@@ -187,7 +187,7 @@ Example:
187187
Like `http.get()` but for HTTPS.
188188

189189
`options` can be an object or a string. If `options` is a string, it is
190-
automatically parsed with [url.parse()](url.html#url.parse).
190+
automatically parsed with [url.parse()](url.html#url_url_parse_urlstr_parsequerystring_slashesdenotehost).
191191

192192
Example:
193193

doc/api/net.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ the last parameter `callback` will be added as an listener for the
209209
The `port`, `host`, and `backlog` properties of `options`, as well as the
210210
optional callback function, behave as they do on a call to
211211
[server.listen(port, \[host\], \[backlog\], \[callback\])
212-
](#net_server_listen_port_host_backlog_callback). Alternatively, the `path`
212+
](#net_server_listen_port_hostname_backlog_callback). Alternatively, the `path`
213213
option can be used to specify a UNIX socket.
214214

215215
If `exclusive` is `false` (default), then cluster workers will use the same
@@ -610,5 +610,5 @@ Returns true if input is a version 6 IP address, otherwise returns false.
610610
['listening']: #net_event_listening
611611
[server.getConnections()]: #net_server_getconnections_callback
612612
[Readable Stream]: stream.html#stream_class_stream_readable
613-
[stream.setEncoding()]: stream.html#stream_stream_setencoding_encoding
614-
[dns.lookup()]: dns.html#dns_dns_lookup_domain_family_callback
613+
[stream.setEncoding()]: stream.html#stream_readable_setencoding_encoding
614+
[dns.lookup()]: dns.html#dns_dns_lookup_hostname_options_callback

doc/api/process.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Example of opening standard input and listening for both events:
304304
As a Stream, `process.stdin` can also be used in "old" mode that is compatible
305305
with scripts written for node.js prior to v0.10.
306306
For more information see
307-
[Stream compatibility](stream.html#stream_compatibility_with_older_node_versions).
307+
[Stream compatibility](stream.html#stream_compatibility_with_older_node_js_versions).
308308

309309
In "old" Streams mode the stdin stream is paused by default, so one
310310
must call `process.stdin.resume()` to read from it. Note also that calling

doc/api/tls.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ The numeric representation of the local port.
786786
[OpenSSL cipher list format documentation]: http://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT
787787
[BEAST attacks]: http://blog.ivanristic.com/2011/10/mitigating-the-beast-attack-on-tls.html
788788
[tls.createServer]: #tls_tls_createserver_options_secureconnectionlistener
789-
[tls.createSecurePair]: #tls_tls_createsecurepair_credentials_isserver_requestcert_rejectunauthorized
789+
[tls.createSecurePair]: #tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized
790790
[tls.TLSSocket]: #tls_class_tls_tlssocket
791791
[net.Server]: net.html#net_class_net_server
792792
[net.Socket]: net.html#net_class_net_socket

0 commit comments

Comments
 (0)