Djordje Lukic
f696a1b3b3
Fix error checking when pulling from an insecure registry
...
The call to an unsecure registry doesn't return an error saying that the
"server gave an HTTP response to an HTTPS client" but a
tls.RecordHeaderError saying that the "first record does not look like a
TLS handshake", this changeset looks for the right error for that case.
This fixes the http fallback when using an insecure registry
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2023-04-12 21:56:52 +02:00
..
2023-03-13 19:17:35 +01:00
2023-04-03 15:59:53 -04:00
2023-04-12 21:56:52 +02:00
2022-12-21 11:09:01 +01:00
2023-03-14 23:00:48 +01:00
2023-04-11 15:45:27 +02:00
2022-09-23 16:56:53 -04:00
2022-12-21 11:09:01 +01:00
2021-08-24 23:33:27 +02:00
2023-02-15 13:11:55 -05:00
2022-09-28 01:58:51 +02:00
2022-09-30 18:40:19 +02:00
2021-08-24 23:33:27 +02:00
2023-02-16 08:26:25 -07:00
2021-08-24 23:33:27 +02:00
2022-03-14 16:28:57 -04:00
2022-10-27 12:52:14 -04:00
2022-11-29 17:07:48 +01:00
2022-10-26 12:06:31 -04:00
2022-05-12 11:36:31 +02:00
2022-07-29 23:05:18 +02:00
2023-03-30 10:29:07 +01:00
2022-08-24 14:59:08 -04:00
2021-06-01 21:51:23 +00:00
2023-02-07 15:43:58 +01:00
2021-08-24 23:33:27 +02:00
2022-01-12 18:28:15 +01:00
2022-11-04 01:50:23 +01:00
2021-08-27 14:56:57 +08:00
2023-01-13 14:19:06 -05:00
2023-02-17 18:08:06 -05:00
2023-02-23 18:59:00 -05:00
2022-10-27 12:52:14 -04:00
2022-09-07 15:27:16 +02:00
2023-03-14 11:06:26 +01:00
2023-03-14 11:06:26 +01:00
2023-03-06 15:13:36 +01:00
2023-01-26 14:54:57 -05:00
2023-01-26 14:54:57 -05:00
2022-05-20 18:22:21 +02:00
2022-01-06 18:28:10 +01:00
2023-03-08 20:15:17 +09:00
2022-10-17 15:15:55 +02:00
2021-08-24 23:33:27 +02:00
2023-01-13 14:09:37 -05:00
2023-04-09 12:07:57 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-07-15 18:09:43 +02:00
2022-08-24 14:59:08 -04:00
2023-02-06 18:21:50 +01:00
2022-04-21 17:33:07 -04:00
2022-11-29 16:46:19 +01:00
2023-02-22 16:24:47 +00:00
2022-06-07 22:01:12 +02:00
2022-08-24 14:59:08 -04:00
2023-04-07 10:53:25 +02:00
2022-08-24 14:59:08 -04:00
2022-12-28 09:27:42 +01:00
2023-03-10 17:54:55 +01:00
2022-09-02 10:48:22 +02:00
2022-11-28 20:28:55 +01:00
2023-04-11 15:45:27 +02:00
2021-08-24 23:33:27 +02:00
2023-03-24 14:25:12 -07:00
2023-03-15 17:52:45 +01:00
2023-03-08 00:58:02 +01:00
2022-08-24 14:59:08 -04:00
2023-03-08 00:58:02 +01:00
2023-03-08 00:58:02 +01:00
2021-08-24 23:33:27 +02:00
2022-10-08 17:41:39 +02:00
2023-01-31 15:19:08 -05:00
2023-01-01 12:33:00 +01:00
2021-08-24 23:33:27 +02:00
2022-09-23 16:56:52 -04:00
2023-04-06 14:27:38 +02:00
2022-09-22 12:13:28 +02:00
2021-08-24 23:33:27 +02:00
2022-04-28 17:21:03 -04:00
2023-01-31 17:02:43 -05:00
2022-12-08 14:33:57 +01:00
2023-01-13 14:19:06 -05:00
2023-03-01 07:58:26 +01:00
2022-11-03 12:22:40 +01:00
2023-03-24 14:25:12 -07:00
2022-05-19 07:57:27 +02:00
2022-12-21 11:09:03 +01:00
2023-02-23 18:59:00 -05:00
2022-08-24 14:59:08 -04:00
2023-03-08 00:58:02 +01:00
2022-09-28 01:58:51 +02:00
2022-10-08 17:41:39 +02:00
2022-06-07 22:01:12 +02:00
2023-01-13 14:19:06 -05:00
2022-08-24 14:59:08 -04:00
2022-10-08 17:41:39 +02:00
2022-11-03 12:22:40 +01:00
2023-02-17 18:08:06 -05:00
2023-02-17 18:08:06 -05:00
2023-02-17 18:08:06 -05:00
2022-09-28 01:58:51 +02:00
2022-05-12 14:48:35 -07:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2023-02-17 18:08:06 -05:00
2021-08-17 07:09:40 -07:00
2023-02-06 18:21:50 +01:00
2023-03-15 17:52:45 +01:00
2021-08-24 23:33:27 +02:00
2022-05-05 00:53:53 +02:00
2021-08-24 23:33:27 +02:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2021-07-02 13:51:55 +02:00
2022-10-27 12:52:14 -04:00
2022-09-27 22:24:29 +02:00