mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
24d199632b
To cache resolved hostname: * src/AbstractCommand.h, src/AbstractCommand.cc (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause. Added dns cache. * src/FtpInitiateConnectionCommand.cc (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS. * src/NameResolver.h, src/NameResolver.cc: Added synchronized NameResolver working without ares. * src/TorrentRequestInfo.cc (execute): Don't cache dns in torrent download. * src/HttpInitiateConnectionCommand.cc (executeInternal): Removed #ifdef ENABLE_ASYNC_DNS * src/DNSCache.h: New class. * src/UrlRequestInfo.cc (execute): Use dns cache
6 lines
115 B
Plaintext
6 lines
115 B
Plaintext
To produce aria2c.1:
|
|
|
|
a2x -f manpage aria2c.1.txt
|
|
|
|
You may have to insert line break before '.sp' in output file.
|