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
{{ message }}
Repository navigation
Issue in SSL implementation : protocole ws:// is always use in Draft_76.java #294
First thank's a lot for this project and library.
I test the ssl implementation and got some issues with Safari on windows and ipad (chrome and safari)
I found why.
In Draft_76.java on the method postProcessHandshakeResponseAsServer
There is always the ws:// protocol.
But on the ssl we need to specify wss:// protocol instead
Don't know how to fix it properly.
So i modify the code that way, passwing the fact to use ws or wss in the ressourceDescriptor
@snooze67 Thank you for pointing out this error! We need to get it fixed without introducing other bugs. Does someone else in the project have more direct experience implementing the drafts?
Please review this proposed fix to the implementation of Draft76. Even if you don't have direct experience in this area of the codebase, the more eyes and opinions look at proposed patches, the better.
If it all looks good, we still need to get unit tests written to make future contribution and debugging easier, as per #318.
As for me, I don't see any glaring issues, but am new to SSL-related projects. Am hesitant to commit without further input.
getResourceDescriptor()will return the request URI according to its JavaDoc, it knows nothing about the protocol, so does classDraft. I think there should be a filed inClientHandshaketo hold the scheme of the handshake request.
right now I am playing with the thought of deprecating Draft_10, Draft_75 and Draft_76 and not supporting them any more.
In my opinion this should have been done a long time ago.
Activity
BrushfireDigitalServices commentedon Jul 21, 2015
@snooze67 Thank you for pointing out this error! We need to get it fixed without introducing other bugs. Does someone else in the project have more direct experience implementing the drafts?
BrushfireDigitalServices commentedon Jul 23, 2015
Calling for input from the community:
Please review this proposed fix to the implementation of Draft76. Even if you don't have direct experience in this area of the codebase, the more eyes and opinions look at proposed patches, the better.
If it all looks good, we still need to get unit tests written to make future contribution and debugging easier, as per #318.
As for me, I don't see any glaring issues, but am new to SSL-related projects. Am hesitant to commit without further input.
zhoulifu commentedon May 11, 2017
getResourceDescriptor()will return the request URI according to its JavaDoc, it knows nothing about the protocol, so does classDraft. I think there should be a filed inClientHandshaketo hold the scheme of the handshake request.@marci4 WDYT
marci4 commentedon May 11, 2017
hey @zhoulifu,
right now I am playing with the thought of deprecating Draft_10, Draft_75 and Draft_76 and not supporting them any more.
In my opinion this should have been done a long time ago.
Greetings
marci4
zhoulifu commentedon May 11, 2017
Sounds great, I was going to ask whether this issue should be fixed or not since Draft75/76 was marked deprecated in wiki =D
marci4 commentedon May 11, 2017
This draft is now deprecated, see #478.
Closing this issue.
Greetings
marci4