Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Regarding Http Connections

Reply
 
Old 02-08-2009   #1 (permalink)
Danish


 
 

Regarding Http Connections

Hi all,

I have a service application that is making HTTP request periodically
through HttpWebRequest class. All is working fine but sometimes the
connection from the server became unstable and the requests become stuck
somewhere (we know this as we continously monitor the server ip by pinging it
time to time with a tool created by us) . The result is that the further http
requests also stuck somewhere even after the server connection becomes good
and it seems like server did not receive any request from client. Now when I
restart the service application again it starts working fine.
I also check ServicePoint and ServicePointManager classes and set as follows

ServicePoint..MaxIdleTime = 10000
ServicePoint.ConnectionLeaseTimeout = 10000

Is there any possibility that connections are stuck or the whole process
would stuck due to unstable(or very very slow) connection situation from the
server?

Can anyone please help me in this regard? Also we have handling the client
only and server is not in our hand so the answers come for teh client is
highly helpful for us?

Regards
Danish

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
no http Vista mail
No HTTP connections after installing Vista SP1 - Need Help Vista General
PPPOE connections created show up as Dial-up connections Vista networking & sharing
Re: No HTTP Vista networking & sharing
RPC over HTTP Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46