mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 02:49:58 +00:00
jira SDK-5322: DIAL client that supports 2.1 and higher SHOULD include a clientDialVer query parameter while querying application status
This commit is contained in:
@@ -67,6 +67,10 @@ int DialServer::sendCommand(
|
||||
CURL *curl;
|
||||
CURLcode res = CURLE_OK;
|
||||
struct curl_slist *slist = NULL;
|
||||
|
||||
// since we are Dial Version 2.1, added query paramter to indicate Dial Version
|
||||
url += "?clientDialVer=";
|
||||
url += CLIENT_VERSION;
|
||||
|
||||
if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK)
|
||||
{
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define CLIENT_VERSION "2.1"
|
||||
|
||||
class DialServer
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user