You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the code below is getting the server name from wrong place when the dtls server handling SNI extension.
I think the server should get the server name from the state of the connection, which variable name is state in this function scope. Am I right?
I believe you are correct! I think this was broken in 863572a would you be interested in submitting a PR to fix this? It would also be great if you could write a failing test so this doesn't break again.
If you don't have the time to fix this mind just telling me, and I will fix when I get time!
Activity
Sean-Der commentedon Jan 18, 2021
Hey @aaftio sorry I missed this.
I believe you are correct! I think this was broken in 863572a would you be interested in submitting a PR to fix this? It would also be great if you could write a failing test so this doesn't break again.
If you don't have the time to fix this mind just telling me, and I will fix when I get time!
thank you
haipengpan commentedon Jan 29, 2021
@Sean-Der , I am glad to fix it when I get time. Maybe a week later if not in a hurry.
Sean-Der commentedon Feb 2, 2021
No hurry at all! Thanks for getting involved :)
Read ServerName from Client, not server Config
Read ServerName from Client, not server Config
Read ServerName from Client, not server Config
Read ServerName from Client, not server Config