Hi,
I need to make a http proxy and I chose Synapse library. I have tested the 
httpproxy demo in Delphi 6 and it compiles and works properly. But I am curious 
how it works. I've started to study it and I found something that I can't 
understand. It's about the "read request headers" section of the "core of 
proxy" TTCPHttpThrd.Execute procedure and how it deals with "Connection" 
header. I found that that code forward the "Connection" header to the http 
server, but in RFC 2616 section 14.10 says that "The Connection general-header 
field allows the sender to specify options that are desired for that particular 
connection and MUST NOT be communicated by proxies over further connections". 
So... how should it be ?
Even more... That code establish persistent connection according to 
"Proxy-Connection" header, not to "Connection" like it should.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to