mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Toenshoff via Review Board <>
Subject Re: Review Request 69075: Updated docker image fetcher to enforce HTTP1.1.
Date Thu, 18 Oct 2018 23:03:25 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 18, 2018, 11:03 p.m.)

Review request for mesos, Alexander Rukletsov, Armand Grillet, Jie Yu, and James Peach.


Added remark.

Bugs: MESOS-8907

Repository: mesos


Modifies the 'curl' invocation that is returning an http::Response,
locking it into HTTP 1.1. Our current HTTP parser is unable to process
HTTP 2 responses.

With the advent of curl 7.47, HTTPS connections are being enforced
towards HTTP 2 rather aggressively. As a result, our image fetcher
fails when recent curl versions are being used for pulling images from
a registry that supports HTTP 2.

For allowing all the benefits of HTTP 2 where possible, we do not
adapt any 'curl' invocations that do not attempt to parse headers.


  src/uri/fetchers/docker.cpp 6b1277f822dcf80d44daa8133b3ecc8c9a34ef07 


Testing (updated)

WIP - needs CENTOS 7 fixup - DO NOT COMMIT

`make check`
`sudo ./bin/ --gtest_filter="ImageAlpine/ProvisionerDockerTest.ROOT_INTERNET_CURL_SimpleCommand/2"`
on a system with curl 7.59.0 installed.


Till Toenshoff

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message