Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hanging on DLL call
Message
De
20/06/2001 20:45:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Hanging on DLL call
Divers
Thread ID:
00521725
Message ID:
00521725
Vues:
49
We had a period yesterday where a client's MIIS was misbehaving badly because of a mail server load and I was writing an app to detect when our VFP generated site was down.

So the technique I wanted to use was simply to request a dynamic page using wwipstuff.httpget() and then comparing the content with what it should be.

However when the remote IIS was misbehaving the following code line, in wwipstuff.httpgetex(), causes VFP to hang indefinitely.
lnRetval=HttpSendRequest(hHTTPResult,;
   tcHeaders,LEN(tcHeaders),;
   lcPostBuffer,tnPostSize)
SO even though at this stage we had a valid "connect", the httpsendrequest failed and never timed out. (Timeout is set to 5 seconds.)

So this means my app is useless for detecting such an outage.

Anyone know an answer or can suggest another method?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform