Skip to content

Commit b403105

Browse files
authored
fix: server sdk should have CPPServer user agent (#371)
Both server and client SDKs were reporting "CPPClient" user agent. The server should report "CPPServer".
1 parent c9da7a1 commit b403105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/server-sdk/src/client_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ClientImpl::ClientImpl(Config config, std::string const& version)
100100
: config_(config),
101101
http_properties_(
102102
config::builders::HttpPropertiesBuilder(config.HttpProperties())
103-
.Header("user-agent", "CPPClient/" + version)
103+
.Header("user-agent", "CPPServer/" + version)
104104
.Header("authorization", config.SdkKey())
105105
.Header("x-launchdarkly-tags", config.ApplicationTag())
106106
.Build()),

0 commit comments

Comments
 (0)