Re: Web Server closes TCP connection in WM5
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Nov 2006 12:54:50 -0800
Jorge - I'm afraid in the version of the CE HTTPD.dll this value is
hardcoded and is not programmatically or registry configurable. In the just
released CE 6.0 I added a registry key that will enable this since other
folks have asked for it, though I know this doesn't help you any in the
short-term.
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Jorge Martin" <JorgeMartin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1F198DAA-9C0E-4882-A065-2AA04AB2ED9F@xxxxxxxxxxxxxxxx
We are working with the web server (httpd.dll) in a smartphone with
Windows
Mobile 5.0. The problem is we want the connection with the web server to
be
permanent (we use a "Connection: keep-alive" header for that purpose), but
it
seems the web server closes the TCP connection after 60 seconds,
regardless
of the keep-alive header. The responsible for closing the connection is
the
server, since we have a custom client which never closes it. I know, for
example, that Internet Explorer has a KeepAliveTimeout parameter that can
be
modified in the registry, which indicates the amount of time the client
maintains the HTTP connection without activity if a keepalive header has
been
used. Is there any entry in the registry in Windows CE to configure this
timeout on the server side? Or can we modify it programmatically?
Thanks in advance
.
- Prev by Date: GetThreadTimes issues
- Next by Date: Re: ISAPI Extensions In WinCE
- Previous by thread: GetThreadTimes issues
- Next by thread: Windows CE 4.2 Encryption "WPA-CA" supported?
- Index(es):
Relevant Pages
|