> But either of the solutions discussed above does the trick, don't they?
Unfortunately, no. I spent a large amount of time trying different
combinations of 1.0 and 1.1 and each spec's related features (Expects,
Keep-Alives, etc), mucked with the 'stream write buffering', etc ... to no
avail.
After posting this yesterday, the developer attempted to recompile and rerun
using VS 2005 and .NET FW 2.0 - and early tests seems to indicate the issue
is resolved in the newer version of the Framework, as his code is exactly the
same as the code that fails in 1.1. Does anyone know if MS posts a list if
bug fixes that are incorporated into a framework release? I have to imagine
something was changed/fixed to now make this request successful.
"Joerg Jooss" wrote:
> Jeff Killberg wrote:
>
> > Thanks for the reply, Joerg.
> >
> > > Well, if you don't want Expectations at all, you can turn them off:
> > >
> > > // Do that before creating HttpWebRequest objects
> > > ServicePointManager.Expect100Continue = false;
> > I'll give a little bit more context - I am currently turning off
> > Expectations (using the same code as you show below) as well as
> > forcing the 1.0 protocol in my request.
>
> You shouldn't need to do both -- Expectations only exist in HTTP 1.1.
> Actually, I would never downgrade to HTTP 1.0, due to the severe
> limitations regarding cache control, redirects, yada yada...
>
> >
> > > 10 secs seems a tad aggressive to me, but I'd expect that to be
> > > configurable for your web server -- it isn't?
> > I completely agree - but the server is housed in a hardware
> > appliance, and the vendor says that this value is non-configurable.
>
> But either of the solutions discussed above does the trick, don't they?
>
> Cheers,
> --
> http://www.joergjooss.de
> mailto:news-(E-Mail Removed)
>