diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-10 15:20:58 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-10 15:20:58 (GMT) |
commit | 9484c653839ef3e8823358ac1e2963d97b056d98 (patch) | |
tree | c591b82c7c97619f2ada5deb48ffdfb4904ecbd9 /src | |
parent | a2c45baa7a14e8caa2a8f1c3937a03f4ba9fd8d4 (diff) | |
download | uscxml-9484c653839ef3e8823358ac1e2963d97b056d98.zip uscxml-9484c653839ef3e8823358ac1e2963d97b056d98.tar.gz uscxml-9484c653839ef3e8823358ac1e2963d97b056d98.tar.bz2 |
Get miles invoker operational again
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/URL.cpp | 3 | ||||
-rw-r--r-- | src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/uscxml/URL.cpp b/src/uscxml/URL.cpp index 8332c1d..93d4c40 100644 --- a/src/uscxml/URL.cpp +++ b/src/uscxml/URL.cpp @@ -530,6 +530,9 @@ void URLFetcher::fetchURL(URL& url) { (curlError = curl_easy_setopt(handle, CURLOPT_URL, url.asString().c_str())) == CURLE_OK || LOG(ERROR) << "Cannot set url to " << url.asString() << ": " << curl_easy_strerror(curlError); + +// (curlError = curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1)) == CURLE_OK || +// LOG(ERROR) << "Cannot set curl to ignore signals: " << curl_easy_strerror(curlError); (curlError = curl_easy_setopt(handle, CURLOPT_WRITEDATA, url._impl.get())) == CURLE_OK || LOG(ERROR) << "Cannot register this as write userdata: " << curl_easy_strerror(curlError); diff --git a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp index 80bcce8..3a3354a 100644 --- a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp +++ b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp @@ -91,6 +91,8 @@ void MilesSessionInvoker::send(const SendRequest& req) { std::string problemName = "Generic"; Event::getParam(req.params, "problemname", problemName); + return; + int rv; rv = miles_connect_reflector_session((char*)reflectorIP.c_str(), (char*)problemName.c_str()); if (!rv) { |