From: Amos Jeffries Date: Mon, 24 Mar 2014 04:57:32 +0000 (-0700) Subject: Parser-NG: Convert the ConnStateData input buffer to SBuf X-Git-Tag: SQUID_3_5_0_1~321 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e2f538320899fc48509259cd045bb6febc8c5f7;p=thirdparty%2Fsquid.git Parser-NG: Convert the ConnStateData input buffer to SBuf Prepare the way to efficiently parse client requests using SBuf based parser-ng. IoCallback stores a raw-pointer to the ConnStateData::In::buf member object rather than an SBuf reference to the backing MemBlob or char* store so that only the short (blocking) FD_READ_METHOD() call needs to provide any synchronous guarantees. We also particularly need a direct (raw) pointer to the ConnStateData member to prevent the possible read/consume collisions causing problems with the ConnStateData callback and avoid having to merge two separate SBuf. --- 0e2f538320899fc48509259cd045bb6febc8c5f7