As a quick introduction, my name is Bryan Hopkins, and I'm a graduate student at
the University of Pennsylvania. As a research project, my group is working with
the notion of server-directed transcoding proxies capable of caching. The basic
idea is for the proxy to make arbitrary content changes based on extra data and
functionality provided by the client and/or server. For our proof-of-concept
prototype for demonstrations and experiments I've been working off of
squid 2.4.STABLE4. The prototype is fairly close to working at a level suitable
for at least internal demonstrations, the only issue I was wondering if anyone had
some advice on (though advice in general is certainly welcome :) ) would
be how to re-queue a clientWriteComplete call within the "done" section of
clientWriteComplete ( if (done = clientCheckTransferDone(http) ... ), kind of in
the mold of the "wait for more to arrive" decision in clientSendMoreData. The
idea is that I'd like for squid to be able to continue working on other requests in a
useful way while the transcoding module synchronously changes the content.
Before this "done" section, nothing is sent to the client, since I diverted the
result to the transcoding module. So for the proof-of-concept prototype, all of
the writing back to the client's file descriptor takes place in this "done"
section.
Any ideas or advice would be greatly appreciated.
Thanks,
Bryan
Received on Thu Jul 18 2002 - 15:11:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:51 MST