Browse Source

[1914] Implemented the cancelAsyncRecv method

Isn't it a little bit waste, to have 35 lines of tests for 1-line
wrapper function? O:-)
Michal 'vorner' Vaner 13 years ago
parent
commit
51f3a86709
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/config/ccsession.cc

+ 5 - 0
src/lib/config/ccsession.cc

@@ -854,5 +854,10 @@ ModuleCCSession::requestMatch(const AsyncRecvRequest& request,
     return (false);
 }
 
+void
+ModuleCCSession::cancelAsyncRecv(const AsyncRecvRequestID& id) {
+    async_recv_requests_.erase(id);
+}
+
 }
 }