Skip to content

Commit c959748

Browse files
committed
fix comment
1 parent 272cfa7 commit c959748

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

libs/client-sdk/include/launchdarkly/client_side/bindings/c/config/builder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ LDClientHttpPropertiesTlsBuilder_Free(LDClientHttpPropertiesTlsBuilder b);
429429
* use-case calls for it.
430430
*
431431
* @param b Client config builder. Must not be NULL.
432-
* @param skip_verify_peer False to skip verification.
432+
* @param skip_verify_peer True to skip verification.
433433
*/
434434
LD_EXPORT(void)
435435
LDClientHttpPropertiesTlsBuilder_SkipVerifyPeer(

libs/common/include/launchdarkly/config/shared/builders/http_properties_builder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class TlsBuilder {
3535

3636
/**
3737
* Whether to skip verifying the remote peer's certificates.
38-
* @param verify_peer True to skip verification, false to verify.
38+
* @param skip_verify_peer True to skip verification, false to verify.
3939
* @return A reference to this builder.
4040
*/
4141
TlsBuilder& SkipVerifyPeer(bool skip_verify_peer);

libs/internal/include/launchdarkly/events/detail/request_worker.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class RequestWorker {
9696
* @param retry_after How long to wait after a recoverable failure before
9797
* trying to deliver events again.
9898
* @param id Unique identifier for the flush worker (used for logging).
99-
* @param mode SSL peer verification mode.
99+
* @param mode TLS peer verification mode.
100100
* @param logger Logger.
101101
*/
102102
RequestWorker(

libs/server-sdk/include/launchdarkly/server_side/bindings/c/config/builder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ LDServerHttpPropertiesTlsBuilder_Free(LDServerHttpPropertiesTlsBuilder b);
389389
* use-case calls for it.
390390
*
391391
* @param b Server config builder. Must not be NULL.
392-
* @param skip_verify_peer False to skip verification.
392+
* @param skip_verify_peer True to skip verification.
393393
*/
394394
LD_EXPORT(void)
395395
LDServerHttpPropertiesTlsBuilder_SkipVerifyPeer(

libs/server-sent-events/include/launchdarkly/sse/client.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ class Builder {
132132
Builder& errors(ErrorCallback callback);
133133

134134
/**
135-
* If connecting to a TLS endpoint, whether to verify the remote
136-
* peer's certificates.
137-
* @param verify_peer True to verify the peer, false otherwise.
135+
* If connecting to an endpoint with TLS, whether to skip verifying the
136+
* remote peer's certificates. Verification is enabled by default.
137+
*
138+
* @param skip_verify_peer True to skip verification, false to verify.
138139
* @return Reference to this builder.
139140
*/
140141
Builder& skip_verify_peer(bool skip_verify_peer);

0 commit comments

Comments
 (0)