<div dir="ltr"><p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">
Hi,</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">I’ve never used
Squid until last week. Squid 4.11 has been set as a proxy server for
my mtk demo board connecting to the internet. <br></p><p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">Recently, when I
tried to run CTS on a demo board, few network test cases failed. After
tcpdumping and investigating with wireshark, it seems that the
following happens ,</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">1. demo board
performs a 'GET' in HTTP 1.0 to the proxy</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">2. the proxy then
performs this GET to the server, but now it's in HTTP 1.1</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">3. the server
replies in HTTP 1.1 to proxy</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">4. the proxy replies
in HTTP 1.1 to the demo board which <b>expects response in HTTP 1.0</b></p><p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%"><b><br></b></p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">At first I was
thinking I chose the wrong server which doesn’t support HTTP 1.0.
So I used my laptop to send exactly the same 'GET' to this server. It
replied in HTTP 1.0.</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">Now the problem is,
when my squid proxy communicating to server , it cannot use the same HTTP
protocol version as it communicating to client. Why?
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">I tried to find
similar problems in the forum. But all I found were more than ten
years ago.
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">I suppose I must
miss something in configuration of squid.
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">Please help, thanks
in advance.
</p>
<p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0in;line-height:100%;background:transparent none repeat scroll 0% 0%">best regards <br>
Frank
Law</p></div>