From: Michal 'vorner' Vaner Date: Thu, 17 May 2012 18:51:00 +0000 (+0200) Subject: [1914] Implemented the cancelAsyncRecv method X-Git-Tag: trac2351_base~226^2~89^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51f3a86709293442f3bb04f775ae42d7d24b03dd;p=thirdparty%2Fkea.git [1914] Implemented the cancelAsyncRecv method Isn't it a little bit waste, to have 35 lines of tests for 1-line wrapper function? O:-) --- diff --git a/src/lib/config/ccsession.cc b/src/lib/config/ccsession.cc index cfb7e4b8e7..d968e143c3 100644 --- a/src/lib/config/ccsession.cc +++ b/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); +} + } }