diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-16 00:44:33 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-16 00:44:33 (GMT) |
commit | 69d34f5598974dddeab14e0fe9169108362622ec (patch) | |
tree | 17fbdbfc28dd11bc8852b697a262d63b9c76df38 /src/uscxml/plugins/element/respond | |
parent | f33e8148fc6e214886a8b24fc9d743ee25da7d61 (diff) | |
download | uscxml-69d34f5598974dddeab14e0fe9169108362622ec.zip uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.gz uscxml-69d34f5598974dddeab14e0fe9169108362622ec.tar.bz2 |
WebSockets!
Diffstat (limited to 'src/uscxml/plugins/element/respond')
-rw-r--r-- | src/uscxml/plugins/element/respond/RespondElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/plugins/element/respond/RespondElement.cpp b/src/uscxml/plugins/element/respond/RespondElement.cpp index a88d9c6..f415b19 100644 --- a/src/uscxml/plugins/element/respond/RespondElement.cpp +++ b/src/uscxml/plugins/element/respond/RespondElement.cpp @@ -55,7 +55,7 @@ void RespondElement::enterElement(const Arabica::DOM::Node<std::string>& node) { std::string requestId = _interpreter->getDataModel().evalAsString(ATTR(node, "to")); // try to get the request object - InterpreterServlet* servlet = _interpreter->getHTTPServlet(); + InterpreterHTTPServlet* servlet = _interpreter->getHTTPServlet(); tthread::lock_guard<tthread::recursive_mutex> lock(servlet->getMutex()); if (servlet->getRequests().find(requestId) == servlet->getRequests().end()) { @@ -65,7 +65,7 @@ void RespondElement::enterElement(const Arabica::DOM::Node<std::string>& node) { assert(servlet->getRequests().find(requestId) != servlet->getRequests().end()); HTTPServer::Request httpReq = servlet->getRequests()[requestId]; - assert(httpReq.curlReq != NULL); + assert(httpReq.evhttpReq != NULL); HTTPServer::Reply httpReply(httpReq); servlet->getRequests().erase(requestId); |