Re: tclhttpd http protocol violation
- From: Wojciech Kocjan <mojeimie@xxxxxxxxxx>
- Date: Wed, 29 Jun 2005 15:55:59 +0200
Pat Thoyts napisał(a):
"yahalom" <yahalome@xxxxxxxxx> writes:
I am trying to retrieve xml file that is accessible on my tclhttpd server. I use .net for it (I hate .net but our customers seems to like it). .net complains that tclhttpd committed http violation. the error is: Message "The underlying connection was closed: The server committed an HTTP protocol violation." I looked at tclhttpd headers and they look fine. I googled and found suggestions but none helped. does anybody know what http protocol violation tclhttpd commits?
I suggest you log the traffic. sockspy can help you with this. Then you could post the traffic (minus the document body) from each side.
I already have dealt with this problem. I didn't really see any protocol violation, but I don't have sockspy logs anymore.
Anyway the best solution is to switch to HTTP/1.0, a flag in .net HttpWebRequest class allows that.
But I'd much rather see tclhttpd fixed since that may cause problems with .net http communication for a lot of people. And some non-open source code may cause problems as well.
The worst thing is that normally .net classes are hard to debug. I thought of writing a simple http server to answer in the exact same way and do the try-all-other-possibilities of how to respond.
I remember seeing "HTTP/1.1 100 Expect" line, which was a bit odd for me.
-- WK
.
- References:
- tclhttpd http protocol violation
- From: yahalom
- Re: tclhttpd http protocol violation
- From: Pat Thoyts
- tclhttpd http protocol violation
- Prev by Date: Re: xmessage equivalent
- Next by Date: Re: Needs help with regsub.
- Previous by thread: Re: tclhttpd http protocol violation
- Next by thread: change cursor on windows
- Index(es):