~kinkie/squid/staging

Viewing all changes in revision 14440.

  • Committer: Amos Jeffries
  • Date: 2015-12-08 18:47:25 UTC
  • Revision ID: squid3@treenet.co.nz-20151208184725-zcvb72oefoovm7bo
Refactor ClientSocketContext write(2) using Server:: write methods

Writing to the client connection is scoped as an action for class Server
and its child classes. There is no need for ClientSocketContext to be
providing the callback handlers and performing I/O error handling.

With Server providing the current write handler we can move from
CBDATA callbacks to AsyncCall. Initial testing indicates this has some
minor performance benefit.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: