Skip to content

Commit ce69120

Browse files
authored
Fix some documentation links (#489)
1 parent 28c3bab commit ce69120

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/easy/handler.rs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2631,17 +2631,13 @@ impl<H> Easy2<H> {
26312631
///
26322632
/// You'll find more details about cipher lists on this URL:
26332633
///
2634-
/// https://www.openssl.org/docs/apps/ciphers.html
2634+
/// <https://www.openssl.org/docs/apps/ciphers.html>
26352635
///
26362636
/// For NSS, valid examples of cipher lists include 'rsa_rc4_128_md5',
26372637
/// ´rsa_aes_128_sha´, etc. With NSS you don't add/remove ciphers. If one
26382638
/// uses this option then all known ciphers are disabled and only those
26392639
/// passed in are enabled.
26402640
///
2641-
/// You'll find more details about the NSS cipher lists on this URL:
2642-
///
2643-
/// http://git.fedorahosted.org/cgit/mod_nss.git/plain/docs/mod_nss.html#Directives
2644-
///
26452641
/// By default this option is not set and corresponds to
26462642
/// `CURLOPT_SSL_CIPHER_LIST`.
26472643
pub fn ssl_cipher_list(&mut self, ciphers: &str) -> Result<(), Error> {
@@ -2662,17 +2658,13 @@ impl<H> Easy2<H> {
26622658
///
26632659
/// You'll find more details about cipher lists on this URL:
26642660
///
2665-
/// https://www.openssl.org/docs/apps/ciphers.html
2661+
/// <https://www.openssl.org/docs/apps/ciphers.html>
26662662
///
26672663
/// For NSS, valid examples of cipher lists include 'rsa_rc4_128_md5',
26682664
/// ´rsa_aes_128_sha´, etc. With NSS you don't add/remove ciphers. If one
26692665
/// uses this option then all known ciphers are disabled and only those
26702666
/// passed in are enabled.
26712667
///
2672-
/// You'll find more details about the NSS cipher lists on this URL:
2673-
///
2674-
/// http://git.fedorahosted.org/cgit/mod_nss.git/plain/docs/mod_nss.html#Directives
2675-
///
26762668
/// By default this option is not set and corresponds to
26772669
/// `CURLOPT_PROXY_SSL_CIPHER_LIST`.
26782670
pub fn proxy_ssl_cipher_list(&mut self, ciphers: &str) -> Result<(), Error> {
@@ -2747,7 +2739,7 @@ impl<H> Easy2<H> {
27472739
/// total latency since in the best case, an additional server roundtrip is required
27482740
/// and in the worst case, the request is delayed by `CURLOPT_EXPECT_100_TIMEOUT_MS`.
27492741
///
2750-
/// More info: https://curl.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html
2742+
/// More info: <https://curl.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html>
27512743
///
27522744
/// By default this option is not set and corresponds to
27532745
/// `CURLOPT_EXPECT_100_TIMEOUT_MS`.
@@ -3879,7 +3871,7 @@ impl SslOpt {
38793871
/// SSL library), with an exception in the case of Windows' Untrusted
38803872
/// Publishers blacklist which it seems can't be bypassed. This option may
38813873
/// have broader support to accommodate other SSL backends in the future.
3882-
/// https://curl.haxx.se/docs/ssl-compared.html
3874+
/// <https://curl.haxx.se/docs/ssl-compared.html>
38833875
pub fn no_revoke(&mut self, on: bool) -> &mut SslOpt {
38843876
self.flag(curl_sys::CURLSSLOPT_NO_REVOKE, on)
38853877
}

0 commit comments

Comments
 (0)