Skip to content

Fix GCS Mock Http Handler JDK Bug (#51933)#51941

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:51933-7.x
Feb 5, 2020
Merged

Fix GCS Mock Http Handler JDK Bug (#51933)#51941
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:51933-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

There is an open JDK bug that is causing an assertion in the JDK's
http server to trip if we don't drain the request body before sending response headers.
See https://bugs.openjdk.java.net/browse/JDK-8180754
Working around this issue here by always draining the request at the beginning of the handler.

Fixes #51446

backport of #51933

There is an open JDK bug that is causing an assertion in the JDK's
http server to trip if we don't drain the request body before sending response headers.
See https://bugs.openjdk.java.net/browse/JDK-8180754
Working around this issue here by always draining the request at the beginning of the handler.

Fixes #51446
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Feb 5, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear original-brownbear merged commit 3be70f6 into elastic:7.x Feb 5, 2020
@original-brownbear original-brownbear deleted the 51933-7.x branch February 5, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants