Re: webHttpRequest doesn't like my netgear router
- From: Joerg Jooss <news-reply@xxxxxxxxxxxxx>
- Date: Fri, 17 Mar 2006 17:38:00 +0000 (UTC)
Thus wrote dl,
I'm trying to create a program to auto-reboot my netgear router when
my wireless connection goes down. I have no control over the
webserver installed on this machine (which is apparently violating the
HTTP protocol standard). I cannot snoop packets on this HTTP
connection because it forces an SSL-encrypted connection. I have
already made the config file change useUnsafeHeaderParsing="true",
which does not change the error message. (I also tried changing other
things in the config file to make sure it was being read).
Basically, I try to connect and I get the message "The underlying
connection was closed: The server commit
ted an HTTP protocol violation." What is odd is that I can connect
and pull down the main index page fine, but when I try to access the
login page, I get the error.
If anyone has any other thoughts besides the useUnsafeHeaderParsing
option, it would be greatly appreciated.
It would be interesting to see an actual HTTP message to understand what causes the protocol violation.
Note that you can always code your own dirty litte HTTP client using Sockets or TcpClient.
Cheers,
--
Joerg Jooss
news-reply@xxxxxxxxxxxxx
.
- Follow-Ups:
- References:
- Prev by Date: Re: Character encoding - 1252 vs. ISO-8859-1
- Next by Date: Re: ProcessStartInfo.WorkingDirectory and Mapped Network Drives
- Previous by thread: webHttpRequest doesn't like my netgear router
- Next by thread: Re: webHttpRequest doesn't like my netgear router
- Index(es):
Relevant Pages
|