increased the ipc buffer and fixed the curl post size

This commit is contained in:
jcli
2016-09-21 22:08:01 -07:00
parent 8f6171ffc1
commit 2a7e391a1b
3 changed files with 32 additions and 24 deletions

View File

@@ -86,6 +86,9 @@ int DialServer::sendCommand(
curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, payload.size());
if( payload.size() )
{
struct curl_slist *slist=NULL;
slist = curl_slist_append(slist, "Expect:");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, slist);
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, payload.c_str());
}
#ifdef DEBUG