With Internet Explorer 7
http://www.purebasic.com/download/PureBasic_Demo.exe
The download stop at 97 %
Very simple HTTP proxy
I reproduced this, sort of.
with mine i get very close to the end and then it just stops. I needed to increase the buffer size a little though first.
I did sniff on the network and the whole file gets through and then the end isn't right. The Server sends the last packet and then the client should send an ACK and an ACK-FIN, then the server will ACK back and IE will know it's finished.
With the proxy, the client sends an ack and thats it so they both just sit there.
Generally this doesn't happen because theres more happening but with the download screen it wants to stop and drop the connection at the end.
Because the proxy doesn't get any info, just the ack etc it has nothing to send to the web server... (or something close to that)
I'll have a think about it. The proxy will have to do some sort of tidy up with the web server for propper closure.
I tested this about 10-15 times and it was the same, the end of the file looks like this (for this download) and it was getting there:
00 00 C6 00 00 1F 61 4A C4
with mine i get very close to the end and then it just stops. I needed to increase the buffer size a little though first.
I did sniff on the network and the whole file gets through and then the end isn't right. The Server sends the last packet and then the client should send an ACK and an ACK-FIN, then the server will ACK back and IE will know it's finished.
With the proxy, the client sends an ack and thats it so they both just sit there.
Generally this doesn't happen because theres more happening but with the download screen it wants to stop and drop the connection at the end.
Because the proxy doesn't get any info, just the ack etc it has nothing to send to the web server... (or something close to that)
I'll have a think about it. The proxy will have to do some sort of tidy up with the web server for propper closure.
I tested this about 10-15 times and it was the same, the end of the file looks like this (for this download) and it was getting there:
00 00 C6 00 00 1F 61 4A C4
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein