Christophe Dumez
4ba5e43933
Improve peer host name resolution ( closes #360 )
...
- Take a QString in argument to avoid converting it twice. The caller already
has the IP as a QString.
- Fix bug where hostnames coming from the cache would not the displayed.
- Fix bug where the resolved hostnames would not be displayed if the IP we know
does not match the first one in the QHostInfo::addresses() list. It may come
later in the list or may be formatted differently (possible with IPv6).
- Avoid requesting again host names for IPs that were already requested recently
but whose resolution did not return a useful hostname.
12 years ago
Christophe Dumez
6778b7460a
Clean up PeerListWidget
13 years ago
Christophe Dumez
a8a7b61ea9
Coding style clean up
13 years ago
Christophe Dumez
122db6a77e
Fix exceptions on Windows XP when IPv6 is disabled (Thanks paolo zambotti)
14 years ago
Christophe Dumez
844bd52c67
Improved hostname resolution code
14 years ago
Christophe Dumez
8a5dc1f239
Fix compilation on Windows (Remove using namespace libtorrent; from headers)
14 years ago
Christophe Dumez
105de3161a
Improved hostname resolution code
14 years ago
Christophe Dumez
1eb26bd78b
Greatly improved peer host name resolution with caching
14 years ago
Christophe Dumez
492814a56e
Fix possible crash in boost exception handling
15 years ago
Christophe Dumez
6885f46f4b
- Restore compatiblity with recent libboost (broken by last commit)
15 years ago
Christophe Dumez
9323660c79
- Fix compilation with Qt 4.4
...
- Fix compilation with older boost libraries
15 years ago
Christophe Dumez
27aff04f11
- Catch invalid_handle exception in savefastresume data
15 years ago
Christophe Dumez
873221ec14
- Catch exception thrown by resolver.resolve() and display the error message on stderr
15 years ago
Christophe Dumez
36748b6729
- Removed some debug
15 years ago
Christophe Dumez
4824637681
- Delete hostname resolver asynchronously to avoid freezing the GUI on preference window closing
15 years ago
Christophe Dumez
0a1ae18412
- Remove outdated program preferences
15 years ago
Christophe Dumez
f7c196dbcf
- Implemented asynchronous hostname resolution in Peer list
15 years ago