Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T.

This little gem comes to us courtesy of MS's IE, whereby it resets the connection and sets content-length to 0 (zero), even though there is data in the post request, when the keep-alive timeout expires.

Fortunately this only occurs when using HTTPS, and apparently it's limited to a particular version of IE (although I'm not 100% convinced about this).

This bug is documented very well here and by ibm here, and an typically difficult to understand MS solution here.

Another solution I think may work (if you're using ASP.NET), is to flush the response manually (Response.Flush())- my understanding is that this will disable the keep-alive header that ASP.NET sends out.  Basically should allow you to still have the keep-alive setting switched on on your IIS server and by manually inserting the Flush() method you can restrict where this occurs to individual pages or apps (eg Global.asax).  Although I've not tried this and could be completely wrong ;-)

HTH

Tim

Posted on Thursday, January 26, 2006 2:35 PM C# .NET , OS/Networking/Misc Apps , ASP.NET , PHP (incl PhpMyAdmin) , IIS , Web Development, JavaScript & CSS | Back to top


Comments on this post: IE bug: HTTP POST with zero content-length (content-length = 0) (even though there is data in the post request)

# sundance uggs on sale
Requesting Gravatar...
I cannot tell you how strong my sundance uggs on sale love for you was back then, when I returned to you on leave in the September, feeling uggs nightfall chestnut sale battered, bruised and fragile. We held each other so tight I thought we would cheap ugg boot store burst. I asked you to marry me the very same day and I whooped with joy when you looked deep into my short black uggs eyes and said "yes" to being my bride.I'm looking at our ugg classic tall purple wedding photo now, the one on our dressing table, next to your jewellery box. I think of how young and innocent we were back then. I remember being on the church classic wool knit striped uggs online uk steps grinning like a Cheshire cat, when you said how dashing and handsome I looked in my uniform. The photo is old and faded now, but when I look at knit rose uggs it, I only see the bright vibrant colors of our youth. I can still remember every detail of the pretty wedding dress your mother made for you, with its cardy ugg moss sale fine delicate lace and pretty pearls. If I concentrate hard enough, I can smell the sweetness of your ugg bailey button on sale wedding bouquet as you held it so proudly for everyone to see. http://www.uggcardyuk.co.uk/UGG-Classic-Short-Boots.html
Left by cheap ugg boot store on Sep 02, 2010 10:59 PM

# re: IE bug: HTTP POST with zero content-length (content-length = 0) (even though there is data in the post request)
Requesting Gravatar...
In fact, I’m just getting my feet wet in management media and starting to learn how to do it well - resources like this blog post are very helpful. As our Site is based in the US, it’s all a bit new to us. The reference mention is something that I worry about as well, how to show your own genuine enthusiasm and share to the community.
web phone
Left by JJsmith on Oct 21, 2010 2:14 AM

Your comment:
 (will show your gravatar)


Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net