-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55621/
-----------------------------------------------------------
Review request for mesos, Benjamin Bannier, Gilbert Song, and Jie Yu.
Bugs: MESOS-6010
https://issues.apache.org/jira/browse/MESOS-6010
Repository: mesos
Description
-------
When behing a proxy, 'curl' uses HTTP CONNECT tunneling to access
HTTPS. This lead to problems with our HTTP parser because the response
of a 'CONNECT' doesn't have neither headers nor a body.
Diffs
-----
src/uri/fetchers/docker.cpp 3f38dddfb4c089322fe4e13b1ef2070b4835885c
Diff: https://reviews.apache.org/r/55621/diff/
Testing
-------
Running ./bin/mesos-tests.sh behind a proxy.
For example by running:
```
docker run -d -p 3128:3128 minumum2scp/squid
export https_proxy=127.0.0.1:3128
./bin/mesos-tests.sh
```
Without this diff, tests cases in the `DockerFetcherPluginTest` fixture should
fail.
Thanks,
Jan Schlicht