Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker-19.03] docker 19.03 / v0.6.2 cherry picks #1178

Merged
merged 10 commits into from
Sep 21, 2019

Conversation

tonistiigi
Copy link
Member

Fix socket handling #1144
session: release forwarded ssh socket connection per connection #1150
llbsolver: fix error on multiple cache importers #1156
http: Handle missing but unambiguous ETags in response #1159
solver: fix pipe signaling on incoming updates #1166
vendor: update go-runc to e029b79d #1168

Tibor Vass and others added 9 commits September 20, 2019 15:10
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 77ca4bc)
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit bd8f49e)
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit aa3ad5f)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit bc3a1ee)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 1d7e7a6)
If a single ETag is requested in `If-None-Match`, some servers do not
include that (unambiguous) ETag header in the response.

For detailed description, see:
moby#905 (comment)

Signed-off-by: Robert Estelle <robertestelle@gmail.com>
(cherry picked from commit c63c6f9)
Otherwise a 200 response without an ETag could be incorrectly associated
to previous content in the following scenario:

* The remote server had in the past responded with an ETag for this
  resource, which was cached.
  - (Otherwise, onlyETag would be empty)
* That was the only ETag cached for this resource.
  - (Otherwise, onlyETag would be empty)
* The remote server then stopped supporting ETag/If-None-Match for this
  resource at all.
  - (Otherwise, it would respond with a 304 or a 200+ETag)

Signed-off-by: Robert Estelle <robertestelle@gmail.com>
(cherry picked from commit 6ff0868)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit eede0fa)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit e3e13ad)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 0ef4356)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants