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

Missing trailers with retry #4442

Merged
merged 3 commits into from
Feb 1, 2019
Merged

Conversation

juliens
Copy link
Member

@juliens juliens commented Jan 30, 2019

What does this PR do?

When the retry middleware has already sent the headers, use the original headers map to be able to send trailers.

Motivation

Fix trailers and Grpc issues.
Fixes #4433

More

  • Added/updated tests

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

middlewares/retry.go Outdated Show resolved Hide resolved
middlewares/retry.go Outdated Show resolved Hide resolved
middlewares/retry.go Outdated Show resolved Hide resolved
Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
:shipit:

Copy link
Member

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit 76c9cea into traefik:v1.7 Feb 1, 2019
@ldez ldez changed the title fix missing trailers with retry Missing trailers with retry Feb 11, 2019
@ldez ldez mentioned this pull request Feb 13, 2019
12 tasks
@juliens juliens deleted the fix/retry-trailers branch September 6, 2019 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants