Re: [squid-users] any work arounds for bug 2176

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 02 Dec 2009 18:43:43 +1300

Brett Lymn wrote:
> Hi,
>
> I think I am being bitten hard by bugid 2176
> (http://bugs.squid-cache.org/show_bug.cgi?id=2176) which is preventing
> people from uploading documents over about 50k in size.
>
> I can upload fine bypassing squid but when using squid the browser
> keeps popping up an authentication window and the upload fails. If
> the file is under about 50kbytes then the upload actually works but
> files over 50kbytes will fail with the authentication pop ups.
>
> I have checked request_header_max_size (made this a large number),
> request_body_max_size is at the default 0 and reply_body_max_size is
> at the default too but the problem persists.
>
> I see the following in the cache.log:
>
> 2009/12/02 11:34:24| httpAppendBody: Request not yet fully sent "POST http://..."
> 2009/12/02 11:34:25| httpAppendBody: Request not yet fully sent "POST http://..."
>
> The site is using IIS, they probably are using NTLM and I am not sure
> if they will change to basic authentication.
>
> Does anyone have any suggestions for how to work around this problem
> (apart from getting the other end to change the auth scheme) or how to
> track down the bug in the source?
>
> I am running Squid Version 2.7.STABLE6.
>

Workaround: see comment 6 of the bug report.
"
Simply enabling plaintext authention and disabling NTLM
on IIS was enough for making everything work, even passing through squid.
"

I'm attaching a test patch to the bug as well to see if it works.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Wed Dec 02 2009 - 05:43:58 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 02 2009 - 12:00:01 MST