Fetch hangs on 64 bit when using proxy

I just installed FreeBSD 8.3 64bit on VirtualBox.

I just set up the internet access to pass through the corporate proxy.

The connection works. But the the fetch command hangs for minutes before finishing:

Code:
# fetch http://google.com
google.com           99% of 11 kB 6388  Bps^C
fetch: transfer interrupted

#

It reaches 99% in no time.

I didn't found any workaround for this bug. But I saw that it happened earlier too.
 
Works here with 9.1-PRERELEASE, with IPv4 and IPv6. What's the value of your HTTP_PROXY environment variable? Also, are there any delay queues, traffic-based ACLs or keep-alives on the proxy?
 
HTTP_PROXY is http://10.69.0.254:8080

I think the connection is keep alive (I saw that in the response headers). I don't know about delays and ACLs.

Everything works fine when I use wget. A fetch also works when the size of file to fetch is unknown.

These hanging lasts about 30-60 seconds. I think it probably waits for a connection timeout.
 
I experienced a problem when doing a portsnap, and it was related to the fetch part, even if the fetch seemed to be done and the verification was not. It could be the same bug that made the verification failing.
 
Back
Top