]> git.ipfire.org Git - thirdparty/squid.git/commit - src/base/AsyncFunCalls.h
Replaced FDECB callback with a basic async call (#1135)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Sun, 11 Sep 2022 17:24:48 +0000 (17:24 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 11 Sep 2022 18:29:57 +0000 (18:29 +0000)
commit2949dd02d504b2f42293a8e1bdf89f21fdf88685
treec7305abb4f4b9000034f4239fc6cd5f239fed2eb
parent5cf2197fe7e431041be343ae4ce7ba750b5cb426
Replaced FDECB callback with a basic async call (#1135)

The "FD passing callback" was misleading because it was not used as a
callback. We just need an async call with a known-to-the-caller
parameter instead. Simplifying CommCalls (by removing this "special
callback") helps improve that API.
src/CommCalls.cc
src/CommCalls.h
src/base/AsyncFunCalls.h
src/comm.cc