[squid-dev] Support forward unknown protocol using http port which redirected to squid
richard.qian at magicwifi.com.cn
Fri Mar 17 07:06:23 UTC 2017
I have play with squid for a long tine, but still can not get into its world deeply, that's make me annoying.
Recently, I have encountered a problem when using squid.
It is that I am using squid as a transparent proxy in Router, redirecting data which destination port is 80 to squid,
and it work fine for a long time, just days before, I found there is one case that will not make the mobile app not
The case is the mobile app using 80 port with non-http nor https protocol.
I have searched a lot on that and found an on_unsupported_protocol, but apparently, not for this case.
So, I am wondering if I can get started to work on that, to process such things.
My thoughts is that when accept the connection and if it can not parsing the request (with enough data, at least contain
the method length of HTTP) just send to the destination (before redirect to squid its an public_ip:port, int squid we can
get it). And the later case, I can not imagine how to do, and whether the thought of mine can be realized ?
Anyone can give some introduction about that or the squid working-model? anything helpful would be appreciate.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-dev