#1 2025-06-20 09:03:31

keinn
Member
Registered: 2014-10-20
Posts: 117

THttpClientSocket feature request

Feature request for the THttpClientSocket component:
The ability to specify the IP address corresponding to a domain name, rather than automatically resolving it.

This would allow traffic to be directed to a specific target server in scenarios where intelligent DNS-based traffic distribution is used by the site.

This feature would be very useful in testing/debuging scenarios .

Offline

#2 2025-06-20 20:02:16

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,069
Website

Re: THttpClientSocket feature request

You can already try to use NewSocketAddressCache.Flush() then NewSocketAddressCache.Add() for this.

I have added a new INewSocketAddressCache.Force method:
https://github.com/synopse/mORMot2/commit/094e92211

Any feedback is welcome.

Offline

Board footer

Powered by FluxBB