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: create multiple SNIs when same certificate is reused #76

Merged
merged 1 commit into from
Aug 8, 2018

Conversation

hbagdi
Copy link
Member

@hbagdi hbagdi commented Aug 7, 2018

As seen in #75, if multiple Host reference the same certificate, only
one host is added as SNI in Kong. This was a bug due to early exit when
a GET request for a certificate succeded.
There were also edge-cases around change certificate for a Host or
updating SNI name. This commit covers those.

Fixes #75

As seen in #75, if multiple Host reference the same certificate, only
one host is added as SNI in Kong. This was a bug due to early exit when
a GET request for a certificate succeded.
There were also edge-cases around change certificate for a Host or
updating SNI name. This commit covers those.
@codecov-io
Copy link

Codecov Report

Merging #76 into master will decrease coverage by 0.14%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #76      +/-   ##
=========================================
- Coverage   32.45%   32.3%   -0.15%     
=========================================
  Files          33      33              
  Lines        2835    2848      +13     
=========================================
  Hits          920     920              
- Misses       1802    1815      +13     
  Partials      113     113
Impacted Files Coverage Δ
internal/ingress/controller/kong.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c04dae...fbf22e7. Read the comment docs.

@hbagdi hbagdi merged commit dcf976a into master Aug 8, 2018
@hbagdi hbagdi deleted the fix/snis-issue branch August 8, 2018 22:08
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