diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ae7a483..81ee731a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -190,7 +190,7 @@ Enhancements: Enhancements: * Add support for protocols and redir_protocols( - [libcurl SASL buffer overflow vulnerability](http://curl.haxx.se/docs/adv_20130206.html)). + [libcurl SASL buffer overflow vulnerability](https://curl.se/docs/adv_20130206.html)). * Add max_send_speed_large and max_recv_speed_large([Paul Schuegraf](https://github.com/pschuegr), [\#33](https://github.com/typhoeus/ethon/pull/33)) ## 0.5.7 diff --git a/lib/ethon.rb b/lib/ethon.rb index 461b4c36..77f888e6 100644 --- a/lib/ethon.rb +++ b/lib/ethon.rb @@ -31,6 +31,6 @@ # # @note Please update to the latest libcurl version in order # to benefit from all features and bugfixes. -# http://curl.haxx.se/download.html +# https://curl.se/download.html module Ethon end diff --git a/lib/ethon/curls/codes.rb b/lib/ethon/curls/codes.rb index 4b53096a..65d2f4ae 100644 --- a/lib/ethon/curls/codes.rb +++ b/lib/ethon/curls/codes.rb @@ -7,7 +7,7 @@ module Curls # :nodoc: module Codes # Libcurl error codes, refer - # https://github.com/bagder/curl/blob/master/include/curl/curl.h for details + # https://github.com/curl/curl/blob/master/include/curl/curl.h for details def easy_codes [ :ok, @@ -103,7 +103,7 @@ def easy_codes end # Curl-Multi socket error codes, refer - # https://github.com/bagder/curl/blob/master/include/curl/multi.h for details + # https://github.com/curl/curl/blob/master/include/curl/multi.h for details def multi_codes [ :call_multi_perform, -1, diff --git a/lib/ethon/curls/constants.rb b/lib/ethon/curls/constants.rb index 3c7c32d9..06794147 100644 --- a/lib/ethon/curls/constants.rb +++ b/lib/ethon/curls/constants.rb @@ -24,18 +24,18 @@ module Curl MultiOption = enum(:multi_option, multi_options(:enum).to_a.flatten) # Used by curl_debug_callback when setting CURLOPT_DEBUGFUNCTION - # https://github.com/bagder/curl/blob/master/include/curl/curl.h#L378 for details + # https://github.com/curl/curl/blob/master/include/curl/curl.h#L378 for details DebugInfoType = enum(:debug_info_type, debug_info_types) # :nodoc: InfoType = enum(info_types.to_a.flatten) # Info details, refer - # https://github.com/bagder/curl/blob/master/src/tool_writeout.c#L66 for details + # https://github.com/curl/curl/blob/master/src/tool_writeout.c#L66 for details Info = enum(:info, infos.to_a.flatten) # Form options, used by FormAdd for temporary storage, refer - # https://github.com/bagder/curl/blob/master/lib/formdata.h#L51 for details + # https://github.com/curl/curl/blob/master/lib/formdata.h#L51 for details FormOption = enum(:form_option, form_options) # :nodoc: diff --git a/lib/ethon/curls/form_options.rb b/lib/ethon/curls/form_options.rb index ce5f0793..a43ec8d2 100644 --- a/lib/ethon/curls/form_options.rb +++ b/lib/ethon/curls/form_options.rb @@ -6,7 +6,7 @@ module Curls module FormOptions # Form options, used by FormAdd for temporary storage, refer - # https://github.com/bagder/curl/blob/master/lib/formdata.h#L51 for details + # https://github.com/curl/curl/blob/master/lib/formdata.h#L51 for details def form_options [ :none, diff --git a/lib/ethon/curls/infos.rb b/lib/ethon/curls/infos.rb index d285f5b9..6c7583d7 100644 --- a/lib/ethon/curls/infos.rb +++ b/lib/ethon/curls/infos.rb @@ -21,8 +21,8 @@ def info_types } end - # http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTDEBUGFUNCTION - # https://github.com/bagder/curl/blob/master/include/curl/curl.h#L378 + # https://curl.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html + # https://github.com/curl/curl/blob/master/include/curl/curl.h#L378 # # @example Return debug info types. # Ethon::Curl.debug_info_types @@ -41,7 +41,7 @@ def debug_info_types end # Return Info details, refer - # https://github.com/bagder/curl/blob/master/src/tool_writeout.c#L66 for details + # https://github.com/curl/curl/blob/master/src/tool_writeout.c#L66 for details # # @example Return infos. # Ethon::Curl.infos diff --git a/lib/ethon/curls/options.rb b/lib/ethon/curls/options.rb index 0c391d44..7476466b 100644 --- a/lib/ethon/curls/options.rb +++ b/lib/ethon/curls/options.rb @@ -212,8 +212,8 @@ def self.option_type(type) end # Curl multi options, refer - # Defined @ https://github.com/bagder/curl/blob/master/include/curl/multi.h - # Documentation @ http://curl.haxx.se/libcurl/c/curl_multi_setopt.html + # Defined @ https://github.com/curl/curl/blob/master/include/curl/multi.h + # Documentation @ https://curl.se/libcurl/c/curl_multi_setopt.html option_type :multi option :multi, :socketfunction, :socket_callback, 1 @@ -231,8 +231,8 @@ def self.option_type(type) option :multi, :max_total_connections, :int, 3 # Curl easy options - # Defined @ https://github.com/bagder/curl/blob/master/include/curl/curl.h - # Documentation @ http://curl.haxx.se/libcurl/c/curl_easy_setopt.html + # Defined @ https://github.com/curl/curl/blob/master/include/curl/curl.h + # Documentation @ https://curl.se/libcurl/c/curl_easy_setopt.html ## BEHAVIOR OPTIONS option_type :easy diff --git a/lib/ethon/easy.rb b/lib/ethon/easy.rb index 355a5194..7e1886fc 100644 --- a/lib/ethon/easy.rb +++ b/lib/ethon/easy.rb @@ -16,7 +16,7 @@ module Ethon # This is the class representing the libcurl easy interface - # See http://curl.haxx.se/libcurl/c/libcurl-easy.html for more informations. + # See https://curl.se/libcurl/c/libcurl-easy.html for more informations. # # @example You can access the libcurl easy interface through this class, every request is based on it. The simplest setup looks like that: # @@ -197,7 +197,7 @@ class Easy # * :obsolete: These error codes will never be returned. They were used in an old # libcurl version and are currently unused. # - # @see http://curl.haxx.se/libcurl/c/libcurl-errors.html + # @see https://curl.se/libcurl/c/libcurl-errors.html attr_accessor :return_code # Initialize a new Easy. @@ -214,7 +214,7 @@ class Easy # @return [ Easy ] A new Easy. # # @see Ethon::Easy::Options - # @see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html + # @see https://curl.se/libcurl/c/curl_easy_setopt.html def initialize(options = {}) Curl.init set_attributes(options) diff --git a/lib/ethon/easy/informations.rb b/lib/ethon/easy/informations.rb index cac62a36..523cf006 100644 --- a/lib/ethon/easy/informations.rb +++ b/lib/ethon/easy/informations.rb @@ -3,7 +3,7 @@ module Ethon class Easy # This module contains the methods to return informations - # from the easy handle. See http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html + # from the easy handle. See https://curl.se/libcurl/c/curl_easy_getinfo.html # for more information. module Informations