dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.58k stars 10.06k forks source link

[SignalR-Client-Cpp] Support for LongPolling Transport #45791

Open MarcoWagner opened 1 year ago

MarcoWagner commented 1 year ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

I am using SignalR-Client-Cpp from inside a corporate network to connect to a public (online) signalR hub. The connection goes through a WAF which is incompatible to websockets.

Describe the solution you'd like

Automatic fallback to use Long Polling Transport when the Upgrade to Websockets is not possible.

[error    ] [websocket transport] exception when connecting to the server: set_fail_handler: 20: Invalid HTTP status.
[error    ] transport could not connect due to: set_fail_handler: 20: Invalid HTTP status.
[info     ] stopping connection
[info     ] acquired lock in shutdown()
set_fail_handler: 20: Invalid HTTP status.

Additional context

No response

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.