summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/xhtml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-16 00:44:21 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-16 00:44:21 (GMT)
commitf33e8148fc6e214886a8b24fc9d743ee25da7d61 (patch)
tree84eedf9bb648756e42489d65ab634a0b98dc2326 /src/uscxml/plugins/invoker/xhtml
parentb92c2f64953e8aabbf3644dc03524de048764c6a (diff)
downloaduscxml-f33e8148fc6e214886a8b24fc9d743ee25da7d61.zip
uscxml-f33e8148fc6e214886a8b24fc9d743ee25da7d61.tar.gz
uscxml-f33e8148fc6e214886a8b24fc9d743ee25da7d61.tar.bz2
Renamed nonsense curlReq to evhttpReq
Diffstat (limited to 'src/uscxml/plugins/invoker/xhtml')
-rw-r--r--src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp b/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
index c0a0a07..d4355b5 100644
--- a/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
+++ b/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
@@ -69,8 +69,8 @@ bool XHTMLInvoker::httpRecvRequest(const HTTPServer::Request& req) {
if (iequals(req.data["type"].atom, "get")) {
// the long-polling GET
if (_longPoll) {
- evhttp_send_error(_longPoll.curlReq, 204, NULL);
- _longPoll.curlReq = NULL;
+ evhttp_send_error(_longPoll.evhttpReq, 204, NULL);
+ _longPoll.evhttpReq = NULL;
}
_longPoll = req;
if (!_outQueue.empty()) {
@@ -141,7 +141,7 @@ bool XHTMLInvoker::httpRecvRequest(const HTTPServer::Request& req) {
HTTPServer::reply(reply);
// queue invoke request for initial html
- _longPoll.curlReq = NULL;
+ _longPoll.evhttpReq = NULL;
_outQueue = std::deque<SendRequest>();
SendRequest sendReq(_invokeReq);
send(sendReq);
@@ -172,7 +172,7 @@ void XHTMLInvoker::send(const SendRequest& req) {
return;
}
reply(reqCopy, _longPoll);
- _longPoll.curlReq = NULL;
+ _longPoll.evhttpReq = NULL;
}
void XHTMLInvoker::reply(const SendRequest& req, const HTTPServer::Request& longPoll) {