|
| Changing Proxy of a THttpRio not working |
 |
Sat, 05 Apr 2008 19:21:12 +020 |
Hello,
during the usage of a THttpRio component (at run time) I tried to set
the HTTPWebNode.Proxy property (to use SoapUI) but it doesn't work.
The reason is that if it is already connected (THTTPReqResp.FConnected =
True) then calling THTTPReqResp.Connect(True) does nothing.
I think that a change of the Proxy property (and some others?) should
call a Connect(False).
|
| Post Reply
|
| Re: Changing Proxy of a THttpRio not working |
 |
Sat, 05 Apr 2008 23:07:43 +010 |
Maurizio Lotauro wrote:
> Hello,
>
> during the usage of a THttpRio component (at run time) I tried to set
> the HTTPWebNode.Proxy property (to use SoapUI) but it doesn't work.
> The reason is that if it is already connected (THTTPReqResp.FConnected =
> True) then calling THTTPReqResp.Connect(True) does nothing.
>
> I think that a change of the Proxy property (and some others?) should
> call a Connect(False).
>
>
> Bye, Maurizio.
Just a thought. It might be better to do a re-connect?
If the programmer is aware that a change to the proxy property requires
a disconnection and a re connection then this is easy to code but if
like me the the programmer is not aware of the issue then maybe the code
should automatically re-connect or raise an error that the programmer
can deal with accordingly.
|
| Post Reply
|
| Re: Changing Proxy of a THttpRio not working |
 |
Tue, 08 Apr 2008 00:43:19 +020 |
Smiler wrote:
[...]
> Just a thought. It might be better to do a re-connect?
The Connect(True) is called on every request, so a Connect(False) should
be enough.
> If the programmer is aware that a change to the proxy property requires
> a disconnection and a re connection then this is easy to code but if
> like me the the programmer is not aware of the issue then maybe the code
> should automatically re-connect or raise an error that the programmer
> can deal with accordingly.
You are not the only one :-)
|
| Post Reply
|
| Re: Changing Proxy of a THttpRio not working |
 |
Sun, 13 Apr 2008 11:40:50 -070 |
Hello,
Thanks for the post. This sounds like a valid request. If time allows, would
you mind filing a QC report. Thank you.
Cheers,
Bruneau.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|