mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
This commit is contained in:
commit
755c31a4fd
@ -54,7 +54,7 @@ class AbstractEvent
|
||||
/// only.
|
||||
///
|
||||
/// BasicEvent works with a standard delegate. They allow one object to register
|
||||
/// onr or more delegates with an event. In contrast, a PriorityDelegate comes with an attached priority value
|
||||
/// one or more delegates with an event. In contrast, a PriorityDelegate comes with an attached priority value
|
||||
/// and allows one object to register for one priority value one or more delegates. Note that PriorityDelegates
|
||||
/// only work with PriorityEvents:
|
||||
///
|
||||
|
@ -80,9 +80,6 @@ Poco::MongoDB::Document::Ptr Database::ensureIndex(Connection& connection, const
|
||||
insertRequest->documents().push_back(index);
|
||||
connection.sendRequest(*insertRequest);
|
||||
|
||||
insertRequest->documents().push_back(index);
|
||||
connection.sendRequest(*insertRequest);
|
||||
|
||||
return getLastErrorDoc(connection);
|
||||
}
|
||||
|
||||
|
@ -163,7 +163,7 @@ public:
|
||||
app.logger().information(it->first + ": " + it->second);
|
||||
}
|
||||
|
||||
if(request.find("Upgrade") != request.end() && request["Upgrade"] == "websocket")
|
||||
if(request.find("Upgrade") != request.end() && Poco::icompare(request["Upgrade"], "websocket") == 0)
|
||||
return new WebSocketRequestHandler;
|
||||
else
|
||||
return new PageRequestHandler;
|
||||
|
Loading…
Reference in New Issue
Block a user