Updates most of the instances of HTTP urls in the engine's
comments. Does not account for any use in the code itself,
documentation, contrib, or project files.
Signed-off-by: Eric Windisch <eric@windisch.us>
| ... | ... |
@@ -956,7 +956,7 @@ func postContainersStart(eng *engine.Engine, version version.Version, w http.Res |
| 956 | 956 |
|
| 957 | 957 |
// If contentLength is -1, we can assumed chunked encoding |
| 958 | 958 |
// or more technically that the length is unknown |
| 959 |
- // http://golang.org/src/pkg/net/http/request.go#L139 |
|
| 959 |
+ // https://golang.org/src/pkg/net/http/request.go#L139 |
|
| 960 | 960 |
// net/http otherwise seems to swallow any headers related to chunked encoding |
| 961 | 961 |
// including r.TransferEncoding |
| 962 | 962 |
// allow a nil body for backwards compatibility |
| ... | ... |
@@ -957,7 +957,7 @@ func NewDaemonFromDirectory(config *Config, eng *engine.Engine, registryService |
| 957 | 957 |
localCopy := path.Join(config.Root, "init", fmt.Sprintf("dockerinit-%s", dockerversion.VERSION))
|
| 958 | 958 |
sysInitPath := utils.DockerInitPath(localCopy) |
| 959 | 959 |
if sysInitPath == "" {
|
| 960 |
- return nil, fmt.Errorf("Could not locate dockerinit: This usually means docker was built incorrectly. See http://docs.docker.com/contributing/devenvironment for official build instructions.")
|
|
| 960 |
+ return nil, fmt.Errorf("Could not locate dockerinit: This usually means docker was built incorrectly. See https://docs.docker.com/contributing/devenvironment for official build instructions.")
|
|
| 961 | 961 |
} |
| 962 | 962 |
|
| 963 | 963 |
if sysInitPath != localCopy {
|
| ... | ... |
@@ -1227,7 +1227,7 @@ func checkKernel() error {
|
| 1227 | 1227 |
// Unfortunately we can't test for the feature "does not cause a kernel panic" |
| 1228 | 1228 |
// without actually causing a kernel panic, so we need this workaround until |
| 1229 | 1229 |
// the circumstances of pre-3.8 crashes are clearer. |
| 1230 |
- // For details see http://github.com/docker/docker/issues/407 |
|
| 1230 |
+ // For details see https://github.com/docker/docker/issues/407 |
|
| 1231 | 1231 |
if k, err := kernel.GetKernelVersion(); err != nil {
|
| 1232 | 1232 |
logrus.Warnf("%s", err)
|
| 1233 | 1233 |
} else {
|
| ... | ... |
@@ -62,7 +62,7 @@ lxc.pivotdir = lxc_putold |
| 62 | 62 |
# NOTICE: These mounts must be applied within the namespace |
| 63 | 63 |
{{if .ProcessConfig.Privileged}}
|
| 64 | 64 |
# WARNING: mounting procfs and/or sysfs read-write is a known attack vector. |
| 65 |
-# See e.g. http://blog.zx2c4.com/749 and http://bit.ly/T9CkqJ |
|
| 65 |
+# See e.g. http://blog.zx2c4.com/749 and https://bit.ly/T9CkqJ |
|
| 66 | 66 |
# We mount them read-write here, but later, dockerinit will call the Restrict() function to remount them read-only. |
| 67 | 67 |
# We cannot mount them directly read-only, because that would prevent loading AppArmor profiles. |
| 68 | 68 |
lxc.mount.entry = proc {{escapeFstabSpaces $ROOTFS}}/proc proc nosuid,nodev,noexec 0 0
|
| ... | ... |
@@ -210,7 +210,7 @@ func (env *Env) SetAuto(k string, v interface{}) {
|
| 210 | 210 |
|
| 211 | 211 |
// FIXME: we fix-convert float values to int, because |
| 212 | 212 |
// encoding/json decodes integers to float64, but cannot encode them back. |
| 213 |
- // (See http://golang.org/src/pkg/encoding/json/decode.go#L46) |
|
| 213 |
+ // (See https://golang.org/src/pkg/encoding/json/decode.go#L46) |
|
| 214 | 214 |
if fval, ok := v.(float64); ok {
|
| 215 | 215 |
env.SetInt64(k, int64(fval)) |
| 216 | 216 |
} else if sval, ok := v.(string); ok {
|
| ... | ... |
@@ -245,7 +245,7 @@ func (env *Env) Encode(dst io.Writer) error {
|
| 245 | 245 |
if err := json.Unmarshal([]byte(v), &val); err == nil {
|
| 246 | 246 |
// FIXME: we fix-convert float values to int, because |
| 247 | 247 |
// encoding/json decodes integers to float64, but cannot encode them back. |
| 248 |
- // (See http://golang.org/src/pkg/encoding/json/decode.go#L46) |
|
| 248 |
+ // (See https://golang.org/src/pkg/encoding/json/decode.go#L46) |
|
| 249 | 249 |
m[k] = changeFloats(val) |
| 250 | 250 |
} else {
|
| 251 | 251 |
m[k] = v |
| ... | ... |
@@ -21,7 +21,7 @@ func TestCliProxyDisableProxyUnixSock(t *testing.T) {
|
| 21 | 21 |
} |
| 22 | 22 |
|
| 23 | 23 |
// Can't use localhost here since go has a special case to not use proxy if connecting to localhost |
| 24 |
-// See http://golang.org/pkg/net/http/#ProxyFromEnvironment |
|
| 24 |
+// See https://golang.org/pkg/net/http/#ProxyFromEnvironment |
|
| 25 | 25 |
func TestCliProxyProxyTCPSock(t *testing.T) {
|
| 26 | 26 |
testRequires(t, SameHostDaemon) |
| 27 | 27 |
// get the IP to use to connect since we can't use localhost |
| ... | ... |
@@ -932,7 +932,7 @@ func TestConstainersStartChunkedEncodingHostConfig(t *testing.T) {
|
| 932 | 932 |
req.Header.Add("Content-Type", "application/json")
|
| 933 | 933 |
// This is a cheat to make the http request do chunked encoding |
| 934 | 934 |
// Otherwise (just setting the Content-Encoding to chunked) net/http will overwrite |
| 935 |
- // http://golang.org/src/pkg/net/http/request.go?s=11980:12172 |
|
| 935 |
+ // https://golang.org/src/pkg/net/http/request.go?s=11980:12172 |
|
| 936 | 936 |
req.ContentLength = -1 |
| 937 | 937 |
server.ServeRequest(eng, api.APIVERSION, r, req) |
| 938 | 938 |
assertHttpNotError(r, t) |
| ... | ... |
@@ -127,12 +127,12 @@ func DockerInitPath(localCopy string) string {
|
| 127 | 127 |
filepath.Join(filepath.Dir(selfPath), "dockerinit"), |
| 128 | 128 |
|
| 129 | 129 |
// FHS 3.0 Draft: "/usr/libexec includes internal binaries that are not intended to be executed directly by users or shell scripts. Applications may use a single subdirectory under /usr/libexec." |
| 130 |
- // http://www.linuxbase.org/betaspecs/fhs/fhs.html#usrlibexec |
|
| 130 |
+ // https://www.linuxbase.org/betaspecs/fhs/fhs.html#usrlibexec |
|
| 131 | 131 |
"/usr/libexec/docker/dockerinit", |
| 132 | 132 |
"/usr/local/libexec/docker/dockerinit", |
| 133 | 133 |
|
| 134 | 134 |
// FHS 2.3: "/usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts." |
| 135 |
- // http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA |
|
| 135 |
+ // https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA |
|
| 136 | 136 |
"/usr/lib/docker/dockerinit", |
| 137 | 137 |
"/usr/local/lib/docker/dockerinit", |
| 138 | 138 |
} |