I have inherited a squid proxy (using no caching) that has a custom Java 
redirector with the following process:
request to squid > redirector checks is URL allowed for requester > if  ok 
then rewite url (prefix with a few characters) and send URL string to 
another system in the workflow.
However the  requested urls are being presented to the next system a bit 
mixed up.
e.g.
user request http://www.google.com/search.gif    >> should send /404.html
user request http://wap.res.com/asset.gif >> should send 
/valid/wap.res.com/asset.gif
<thousands more requests>
however the following is happening to < 1% of requests
user request http://www.google.com/search.gif    >> is sending 
/valid/wap.res.com/asset.gif
user request http://wap.res.com/asset.gif >> should send 
/valid/wap.res.com/search.gif
also the redirector may take in multiple requests and simply mix the order 
up!
Can anyone tell me why this is happening?  I have read that squid 
redirectors should NOT use buffered I/O but not details as to why this is 
the case?  Can anyone tell me why this is the case and give details?
Thanks in advance.
PS I cannot post source as this is commercial.  Sorry :-(
Received on Fri Jul 15 2005 - 04:10:50 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT