On 03/24/2017 04:54 AM, 钱国正 wrote: > I want to know what's the > pinning.serverConnection mean? and what it is used for?
Before we dive into low-level details, please allow me to ask an important high-level question. Your answer may render those low-level detail irrelevant: > I want to rewrite the on_unsupported_protocol to support tcp connection > (non-http protocol, called httpdns not readable, no http header) and > relay it the server. [...] I need assign the server's address and port Where will your code get the server address and port from? If the answer is "from the received httpdns message header", then please do not abuse on_unsupported_protocol to support "httpdns". Instead, add proper support for httpdns (which may be limited to forwarding httpdns queries to the right server if such blind forwarding makes sense). BTW, can you post a link to the "httpdns" protocol specification (not API)? And what do you mean by "not readable"? Thank you, Alex. _______________________________________________ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev