Repository navigation
[SL-ONLY] Adds DNS lookup support for HTTPs client - #1279
Rohan Sahay (rosahay-silabs) merged 1 commit into
Conversation
|
bugbot review |
PR SummaryMedium Risk Overview Before each GET/POST/PUT, The thermostat HTTPS offload example is updated to use Reviewed by Cursor Bugbot for commit d792adf. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit d792adf. Configure here.
… SNI handling with tlsHostname.
d792adf to
2f6a79e
Compare
40768c7
into
test/feature/add-matter-service
Introduce ResolveServerEndpoint method for DNS resolution and improve SNI handling with tlsHostname.

Summary
Update the Silicon Labs
HttpClientto support hostname or IPv4-based server endpoints, eliminating the need to provide a separate server IP address and hostname.serverIpandhostNamewithserverEndpointand optionaltlsHostname. When omitted,tlsHostnamedefaults toserverEndpointfor HTTP Host and TLS SNI.ResolveServerEndpoint()to resolve the server endpoint before each GET, POST, or PUT request:sl_net_inet_addr.sl_net_dns_resolve_hostname_v2with a 5-second timeout and one retry.HTTP_SERVER_ENDPOINTandHTTP_TLS_HOSTNAMEinstead ofHTTP_SERVER_IPandHTTP_HOSTNAME.Related Issues
Testing
tlsHostnameconfigurations.