Re: [squid-users] Firefox and http://www.elance.com/ (Another POST without Content-Length issue ?)

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 18 Jan 2008 22:23:27 +0900

How -fantastic- !

Can you take a tcpdump of the session please and wrap it all up in
a bugzilla report?

I have a feeling they're assuming HTTP/1.1 with 100 Expect, and fail
miserably with HTTP/1.0 ?

(Yeah, doesn't work for me with Firefox 2.X on my G4 iBook. Works under
Safari though!)

Adrian

On Fri, Jan 18, 2008, Simon Waters wrote:
> Firefox seems to send the "sign-in" POST request without a Content-Length
> header for the "sign-In" link on "elance.com". At least I assume that is the
> reason I couldn't login via Squid (411 ERROR saying length is required).
>
> IE works, which may be down to how they generate the requests on different
> browsers, as it sends a "Content-Length: 0" header in these requests.
>
> Is there a config that makes this work with Squid? (Currently using Debian
> Etch squid package 2.6.5-6).
>
> Have they done a known gotcha in their Ajax?
>
> Reproduce:
>
> Visit http://www.elance.com/
> Click on "sign-In"
> No sign-in dialogue appears.
>
> When:
>
> Always with Firefox via Squid.
> Never with IE.
> Never with Firefox without Squid.
>
> Firefox 2.0.0.11 or Iceweasel 2.0.0.10 same, client Windows or Debian makes no
> difference.
>
> Error:
>
> 1200651675.192 1 212.24.80.83 TCP_DENIED/411 2658 POST
> http://www.elance.com/php/reg/main/signInAHR.php? - NONE/- text/html
>
> Tried "request_entities" option in the squid.conf no effect.
>
> Firebug happily shows a nice informative bit under "XHR" queries, including
> the full text of the Squid error - saying "knock it off with the malformed
> requests" (I paraphrase in local idiom to make it challenging for those that
> aren't native English speakers).

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Fri Jan 18 2008 - 06:13:30 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST