There should be a version of HCHttpCallRequestSetSSLValidation for web sockets
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 54/100
Research direction
Start by reading the existing HCHttpCallRequestSetSSLValidation and HCWebSocketSetProxyDecryptsHttps entry points to understand how SSL validation is controlled for HTTP and WebSocket connections. Add the corresponding WebSocket-facing API described in the issue, then verify that a local WebSocket echo server using a self-signed certificate can connect when validation is disabled.
Written by the indexing model from the issue text.
Description
I am adding support for Web Sockets to our title, and have been testing my work with a very simple locally run echo server. Everything works fine when testing over http, but switching to https fails as I am just using a self signed certificate for local testing.
For making HTTP calls, I call HCHttpCallRequestSetSSLValidation to skip the ssl validation, but there is no equivilent for web sockets. I found HCWebSocketSetProxyDecryptsHttps, and using a debugger to skip the empty proxy check was able to get a connection open over https with the ssl check bypassed. This is not sustainable in the long term, as I can't expect other developers to stick a breakpoint in a random bit of code and set a random variable to true.
Please consider adding a new function along the lines of HCWebSocketSetSSLValidation, which when called disables the SSL validation step.
- Dominant language
- C++
- Stars
- 295
- Forks
- 144
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/libHttpClient
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
microsoft/libHttpClient#964 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
microsoft/libHttpClient#958 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/libHttpClient#989 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/libHttpClient#909 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/libHttpClient#868 · 6 comments · 1 reaction ·
All issues in microsoft/libHttpClient
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·