curl-library
Re: Persistent connection problem on local ip address change.
From: <koettermarkus_at_gmx.de>
Date: Thu, 09 Jul 2009 01:42:56 +0200
Date: Thu, 09 Jul 2009 01:42:56 +0200
Vijay Poliboyina wrote:
> I am working on a linux platform
...
> If the
> network interface type (or ip address) is changed after a few transfers,
> a new request often tries to reuse the existing connection causing a
> timeout and reconnect.
...
> I greatly appreciate other ideas.
If you don't want to mess with netlink to detect network changes,
ip_dynaddr might be worth a look.
http://iptables-tutorial.frozentux.net/other/ip_dynaddr.txt
Please let me know if it makes a difference.
If you want to mess with netlink, let me know.
Markus
Received on 2009-07-09