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

fix for nil clientTLS causing issue #617

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

jangie
Copy link
Contributor

@jangie jangie commented Aug 14, 2016

In testing locally, I found that I was receiving a NPE due to this being nil. I was using the marathon provider at the time, and I believe it happened as a result of that provider asking for client TLS handling even though it hadn't been configured.

@jangie jangie force-pushed the fix-nil-client-tls branch 4 times, most recently from dbd0522 to 9eaec8e Compare August 16, 2016 13:19
@errm
Copy link
Contributor

errm commented Aug 16, 2016

Could you try reproducing the issue in a test perhaps... might not be possible, but it would be worth a try.

@jangie
Copy link
Contributor Author

jangie commented Aug 16, 2016

Sure, I'll try to figure out a good way to test for the situation and will submit a test later tonight if I can figure one out.

@jangie
Copy link
Contributor Author

jangie commented Aug 16, 2016

@errm test has been added, but I'm a bit of a golang noob. please feel free to tear it apart if I've done something that isn't matching what you'd like to see.

@errm
Copy link
Contributor

errm commented Aug 17, 2016

Thanks @jangie LGTM ping @containous/traefik

@vdemeester
Copy link
Contributor

hum… LGTM 🐱
/cc @emilevauge

@cocap10
Copy link

cocap10 commented Aug 17, 2016

LGTM.
Sorry for this issue 👼

@vdemeester vdemeester merged commit f1c3d82 into traefik:master Aug 17, 2016
@jangie jangie deleted the fix-nil-client-tls branch August 17, 2016 11:13
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.

5 participants