From 981f561a726bb4307d01e4a09a308edba8d69fe3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Oct 2018 20:55:30 +0000 Subject: doc: update more URLs to use HTTPS and avoid redirects Latency from redirects is painful, and HTTPS can protect privacy in some cases. --- lib/unicorn/configurator.rb | 2 +- lib/unicorn/http_request.rb | 2 +- lib/unicorn/http_server.rb | 2 +- lib/unicorn/util.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index d426edf..e8b76f5 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -238,7 +238,7 @@ class Unicorn::Configurator # server 192.168.0.9:8080 fail_timeout=0; # } # - # See http://nginx.org/en/docs/http/ngx_http_upstream_module.html + # See https://nginx.org/en/docs/http/ngx_http_upstream_module.html # for more details on nginx upstream configuration. def timeout(seconds) set_int(:timeout, seconds, 3) diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 8bb884b..bcc1f2d 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -65,7 +65,7 @@ class Unicorn::HttpParser clear e = env - # From http://www.ietf.org/rfc/rfc3875: + # From https://www.ietf.org/rfc/rfc3875: # "Script authors should be aware that the REMOTE_ADDR and # REMOTE_HOST meta-variables (see sections 4.1.8 and 4.1.9) # may not identify the ultimate source of the request. They diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 62f6171..5334fa0 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -84,7 +84,7 @@ class Unicorn::HttpServer # * The master process never closes or reinitializes this once # initialized. Signal handlers in the master process will write to # it to wake up the master from IO.select in exactly the same manner - # djb describes in http://cr.yp.to/docs/selfpipe.html + # djb describes in https://cr.yp.to/docs/selfpipe.html # # * The workers immediately close the pipe they inherit. See the # Unicorn::Worker class for the pipe workers use. diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index 501930c..b826de4 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -64,7 +64,7 @@ module Unicorn::Util # :nodoc: fp.reopen(fp.path, "a") else # We should not need this workaround, Ruby can be fixed: - # http://bugs.ruby-lang.org/issues/9036 + # https://bugs.ruby-lang.org/issues/9036 # MRI will not call call fclose(3) or freopen(3) here # since there's no associated std{in,out,err} FILE * pointer # This should atomically use dup3(2) (or dup2(2)) syscall -- cgit v1.2.3-24-ge0c7