-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
#1375 #1237 #925 #920 Fix DownstreamRoute DangerousAcceptAnyServerCertificateValidator #1377
Conversation
Hi zhangq! Could you Sync fork please? So, your master branch was outdated! |
The feature branch has been rebased onto ThreeMammals:develop! |
@RaynaldM Please, review, carefully! 😉 |
@RaynaldM Everything fine in testing? 😄 |
@raman-m When it's urgent, I just read the code and "judge" the form, and a little less the content. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The UseWebSocketsProxyMiddleware
method enables custom WebSocketsProxyMiddleware
in the pipeline.
But there is no usage of native WebSocketMiddleware class which is industry standard. But instead of standard framework middleware a custom WebSocketsProxyMiddleware
class was written with custom Invoke
method. This is design issue...
using Ocelot.Logging; | ||
using Ocelot.Middleware; | ||
using System.Net.WebSockets; | ||
|
||
namespace Ocelot.WebSockets.Middleware | ||
namespace Ocelot.WebSockets | ||
{ | ||
public class WebSocketsProxyMiddleware : OcelotMiddleware |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This class should be removed at all in favor of WebSocketMiddleware by Microsoft .NET team.
- This class should be redesigned based on WebSocketMiddleware by Microsoft .NET team.
Related to #309 |
Fixes #1375 #1237 #925 #920