Hello,
We want to reuse THttpCli after a request ends (either aborted or
normal) in a MR HTTP reverse proxy. We also want to reuse non-aborted
sockets so as to keep the socket open in another repository thread.
Here is my logic:
I first override,
void __fastcall httpClient::StateChange(THttpStat
gt; SZ
>
> - Original Message -
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Tuesday, August 29, 2006 7:12 PM
> Subject: Re: [twsocket] Need help with THttpCli reuse after abort()
>
>
> : Hi,
&g
ED]>
To: "ICS support mailing"
Sent: Tuesday, August 29, 2006 7:12 PM
Subject: Re: [twsocket] Need help with THttpCli reuse after abort()
: Hi,
:
: I found out that calling cleanrcvdstreams() and cleansentstreams() killed
: the problem. FYI, I also called InternalClear() after each
, isn't it?!
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, August 29, 2006 10:55 AM
Subject: Re: [twsocket] Need help with THttpCli reuse after abort()
: Hello,
:
: I really think the probl
ED]>
To: "ICS support mailing"
Sent: Tuesday, August 29, 2006 10:30 AM
Subject: [twsocket] Need help with THttpCli reuse after abort()
: Hello,
:
: As you know I am coding a reverse proxy. In my proxy, I am keeping HTTP
: CLIENT connections open after a request so that the next reque
Hello,
As you know I am coding a reverse proxy. In my proxy, I am keeping HTTP
CLIENT connections open after a request so that the next request does not
wait for the establishment. Now, when something goes wrong (i.e. socket
error), I abort the client connection as well to reset the internal st