Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Dec : Synapse httpserv doesn't "talk" with Synapse clients

www.cryer.info
Managed Newsgroup Archive

Synapse httpserv doesn't "talk" with Synapse clients

Subject:Synapse httpserv doesn't "talk" with Synapse clients
Posted by:"Tim Robbins" (no.spam@nada.com)
Date:4 Dec 2005 17:00:57

I found some strange behaviors in trying to set up some preliminary
performance tests. In particular, I wanted to hammer a minor server
with automated local requests, either on the same machine or on the
local network. To my great surprise using Synapse clients to access a
Synapse server did not work (at least here and now...), although the
few other combinations I tried DID work (Internet Explorer (IE) to
Synapse; Indy to Synapse; Synapse to Indy...).

Even stranger: while waiting for a simple HttpGetText() to complete
(which just hangs until the timeout, either on the same machine or from
another on the local net)... if you SHUT DOWN the httpserv demo while
the client's still waiting, the client immediately completes, reacting
to the shutdown, instead of waiting for the timeout.

BTW, if HttpGetText() (and HTTPMethod() etc.) time out, the routines
STILL return reporting a SUCCESSFUL result value. This doesn't seem
right.

I'd love to hear what I'm doing wrong!

Replies:

www.cryer.info
Managed Newsgroup Archive