summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopcancel.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-07-07 19:35:32 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-07-07 19:35:32 -0400
commitf5f51d3cda8861b3b3a380cc96aaca98e572c377 (patch)
tree967c150112eab3d247bd28a428a2c3f4b100ea0f /indra/llcorehttp/_httpopcancel.cpp
parent70e976d1a87f4225c7593129a9c1c4732e2d38e4 (diff)
SH-3185 Fill in some FIXME/TODO cases
Also added some comments and changed the callback userdata argument to be an HttpOpRequest rather than a libcurl handle. Less code, less clutter.
Diffstat (limited to 'indra/llcorehttp/_httpopcancel.cpp')
-rw-r--r--indra/llcorehttp/_httpopcancel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcorehttp/_httpopcancel.cpp b/indra/llcorehttp/_httpopcancel.cpp
index 5c1f484109..8e1105dc81 100644
--- a/indra/llcorehttp/_httpopcancel.cpp
+++ b/indra/llcorehttp/_httpopcancel.cpp
@@ -59,6 +59,11 @@ HttpOpCancel::~HttpOpCancel()
{}
+// Immediately search for the request on various queues
+// and cancel operations if found. Return the status of
+// the search and cancel as the status of this request.
+// The canceled request will return a canceled status to
+// its handler.
void HttpOpCancel::stageFromRequest(HttpService * service)
{
if (! service->cancel(mHandle))