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

Add GRPC proxy support #575

Merged
merged 13 commits into from
Dec 7, 2018
Merged

Add GRPC proxy support #575

merged 13 commits into from
Dec 7, 2018

Conversation

andyroyle
Copy link
Contributor

Adds proper GRPC proxy support, including TLS upstream and TLS termination.

Copy link
Contributor

@magiconair magiconair left a comment

Choose a reason for hiding this comment

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

One question but otherwise LGTM. Are you running this in prod right now?

}

newCtx := context.Background()
conn, err := grpc.DialContext(newCtx, target.URL.Host, opts...)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to return conn even if there was an error?

@magiconair
Copy link
Contributor

Thanks a lot @andyroyle for this. Are you running this in prod already?

@stack72
Copy link
Contributor

stack72 commented Dec 7, 2018

@magiconair yeah we have this in production now for about 3 weeks - it was a replacement for us using HaProxy and it’s integrated well with consul :)

@magiconair magiconair added this to the 1.5.11 milestone Dec 7, 2018
@magiconair magiconair merged commit 179c6f8 into fabiolb:master Dec 7, 2018
@magiconair
Copy link
Contributor

Thx Paul.

@magiconair
Copy link
Contributor

Is this the same as #436?

@andyroyle
Copy link
Contributor Author

So this PR doesn't include those http/2 changes from #436 in, because it creates an entirely separate transport. It might still be worth merging that.

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.

None yet

3 participants