]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side_request.cc
Merging async-call branch changes to HEAD:
authorrousskov <>
Wed, 13 Feb 2008 06:07:52 +0000 (06:07 +0000)
committerrousskov <>
Wed, 13 Feb 2008 06:07:52 +0000 (06:07 +0000)
commit1cf238db556de32a31920c198b41394319fce8b7
treeac94577ea89e88c36afc7c5a93aad52d1261ef8c
parent6d527e0ad439815b51203604da5a655dfd27d3cf
Merging async-call branch changes to HEAD:

Async-call work replaces event-based asynchronous calls with
stand-alone implementation. The common async call API allows Squid
core do call, debug, and troubleshoot all callback handlers in a
uniform way.

An async "job" API is introduced to manage independent logical threads
or work such as protocol transaction handlers on client, server, and
ICAP sides. These jobs should communicate with each other using async
calls to minimize dependencies and avoid reentrant callback loops.

These changes will eventually improve overall code quality, debugging
quality, and Squid robustness.

Below you will find log messages from the async-call branch that are
relevant to the file(s) being committed.

        Made comm_read and comm_write calls to use the new CommCalls.

        Converted the ConnStateData related code in client_side.cc to
        use CommCalls.

        BodyPipe now uses the  new job calls interface. Many changes in
        BodyPipe's related code.
src/client_side.cc
src/client_side.h
src/client_side_reply.cc
src/client_side_request.cc
src/client_side_request.h