Valentin Gosu
fe9b24270d
Bug 1301069 - Backed out bug 1185120 (changeset 38cad72a77a6) a=backout a=merge
...
--HG--
extra : source : 9330dc01ec0245f05311c56025a50705138351bc
2016-09-08 00:04:07 +02:00
Yen Chi Hsuan
5a098d36c7
Bug 1185120 - Convert raw pointers in DNS.cpp and nsHostResolver.cpp to smart pointers. r=valentin
2016-09-05 03:47:58 +08:00
Valentin Gosu
0779b66d18
Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me
2015-11-28 00:20:01 +01:00
Valentin Gosu
8a5616fdc5
Bug 1183781 - Small leak in DNS.cpp and nsHostResolver.cpp r=sworkman
...
* makes AddrInfo extend nsISupports
* uses RefPtr for managing AddrInfo and nsHostResolver in nsHostResolver.cpp
2015-11-23 13:02:41 +01:00
Jonathan Watt
de2eb25725
Bug 1216370 - For safety and searchability, define the nsHostResolver::RES_* enum in terms of the nsIDNSService::RESOLVE_* enum. r=mayhemer
2015-09-14 14:46:47 +01:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Patrick McManus
1f37202f72
Bug 1196237 - Relemetry after dns shutdown. r=dragana
2015-08-20 12:14:40 -04:00
Nicholas Nethercote
e849e6588b
Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
...
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Nicholas Nethercote
a6d3fc9f49
Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj.
2015-05-12 17:33:45 -07:00
Patrick McManus
59395b21cb
bug 1162821 - filter dns name collision records r=sworkman IGNORE IDL
2015-05-08 14:18:20 -04:00
Dragana Damjanovic
82480b23f3
Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer
2015-02-19 00:14:00 -05:00
Dragana Damjanovic
bcda688027
Bug 1123324 - Additional fix for nsHostResolver. r=sworkman
2015-02-10 08:45:00 -05:00
Dragana Damjanovic
0b608c2cf0
Bug 1123324 - Fix host resolve. r=sworkman
2015-02-03 00:16:00 -05:00
Steve Workman
eafabe3cdc
Bug 1084645 - Enable DNS TTL by default on Windows r=mcmanus
2014-10-20 10:26:33 -07:00
Daniel Stenberg
550c6f65bf
Bug 1077084 - improved DNS cache pruning. r=sworkman
2014-10-13 23:07:00 +02:00
Daniel Stenberg
e3a15e4b5d
Bug 939318 - Detect network interface changes on Windows. r=mcmanus
...
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.
Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.
nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.
DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)
HttpHandler: acts on network changes
2014-09-24 23:14:00 -04:00
Steve Workman
2f4a61e5cb
Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus
2014-09-24 09:56:13 -07:00
Ed Morley
0b6dc6427d
Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE
2014-09-24 16:17:57 +01:00
Daniel Stenberg
3984adf1be
Bug 939318 - Detect network interface changes on windows. r=mcmanus
...
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.
Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.
nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.
DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)
HttpHandler: acts on network changes
2014-09-23 03:48:00 -04:00
John Sullivan
b691107c76
Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman
2014-09-20 15:10:18 -07:00
Patrick McManus
de7e1803bc
Bug 820391 - Backout revision 4741ef815af9 for various regressions.
...
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
30e63485d6
Backed out changeset 49502f43bd03 for landing with the wrong bug number.
2014-08-21 11:03:02 -04:00
Patrick McManus
d8cd53790d
bug 820931 - backout 4741ef815af9 r=backout
...
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00
josullivan
fa4f761593
Bug 820391: Use DnsQuery on Windows. r=sworkman
...
From 21e22e494541d5e4c085a6ba84e1bc5b4c92330e Mon Sep 17 00:00:00 2001
---
netwerk/dns/DNS.cpp | 65 +++++++-
netwerk/dns/DNS.h | 6 +
netwerk/dns/GetAddrInfo.cpp | 362 +++++++++++++++++++++++++++++++++++++++++
netwerk/dns/GetAddrInfo.h | 65 ++++++++
netwerk/dns/moz.build | 1 +
netwerk/dns/nsHostResolver.cpp | 320 ++++++++++++++++++++++++++----------
netwerk/dns/nsHostResolver.h | 43 ++++-
7 files changed, 766 insertions(+), 96 deletions(-)
create mode 100644 netwerk/dns/GetAddrInfo.cpp
create mode 100644 netwerk/dns/GetAddrInfo.h
2014-08-15 17:25:06 -07:00
Ehsan Akhgari
748c8aca19
Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
2014-08-05 09:20:24 -04:00
Patrick McManus
7d75165d03
bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman
2014-03-09 06:01:56 -04:00
Nicholas Hurley
21710e9462
Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus
2014-01-09 13:50:04 -08:00
Nicholas Hurley
f18b3e02a2
Bug 942317 - An experiment to test how reachable SRV records are in the wild. r=mcmanus
2013-12-05 15:23:22 -08:00
Nicholas Nethercote
9aa62569a7
Bug 893857 (part 2) - Add a memory reporter for the DNS service. r=sworkman.
...
--HG--
extra : rebase_source : 7d88cf2ef5ad4b58b377f0cec66349b5e26bfc8e
2013-11-24 15:24:12 -08:00
Adrian Lungu
74e17cd3ac
Bug 882516 - Use AF_UNSPEC cached entries for AF_INET and AF_INET6 DNS requests, if possible. r=sworkman
2013-08-16 11:49:57 -07:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Patrick McManus
db05cbea1d
bug 887753 - server not found after reconnecting to etherpad r=sworkman
2013-07-19 18:40:00 -04:00
Josh Aas
ceec4092ec
Bug 826238: Convert DNS expiration tracking to TimeStamp/TimeDuration. r=sworkman
2013-02-14 09:03:51 -06:00
Josh Aas
233d967af4
Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman
2012-12-23 16:08:43 -05:00
Ed Morley
1d05c8c189
Backout 744b40b75241 (bug 807678) on suspicion of causing Win debug xpcshell timeouts on a CLOSED TREE
2012-12-14 13:00:19 +00:00
Josh Aas
e4134b8a11
Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman
2012-12-13 09:18:33 -05:00
Valentin Gosu
d9fc31cfe1
Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi
2012-12-10 09:13:55 -05:00
Adam Dane [:hobophobe]
b6f4fdb364
Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger
2012-09-17 18:45:10 -05:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Josh Aas
ec000bb6de
Bug 771489: Use standard threadsafe refcounting in host resolver. r=sworkman
2012-07-10 10:14:01 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Steve Workman
499bffed97
Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz
2012-01-20 15:14:46 -08:00
Phil Ringnalda
ed1e18f921
Backed out changeset a57b82b18bde (bug 622232) for build bustage
2012-01-23 16:07:47 -08:00
Steve Workman
b8a9c0671a
Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz
2012-01-20 15:14:46 -08:00
Patrick McManus
a1222e566f
bug 710205 dns telemetry r=bz
2011-12-16 21:24:17 -05:00
Patrick McManus
429956fca0
bug 709976 dns async early renewal r=bz
2011-12-16 21:24:12 -05:00
Steve Workman
50e8ffcb33
Bug 694325: Add files for DNS Multithreading on Android; avoid undefined, unexposed libc symbols r=mwu
2011-12-05 10:41:11 -08:00
Doug Turner
ba42ee3f6e
Bug 694325 - Backout of bfb56029f4bd due to crashes on android tablets. r=sworkman
2011-11-22 14:58:25 -08:00
Steve Workman
e80c212d1f
Bug 694325: Add threadsafe getaddrinfo to libmozutils; restore multi-threading to nsHostResolver for DNS requests. r=mwu
2011-11-21 18:21:21 -08:00
Marco Bonardo
c246bd9bca
Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression.
2011-10-26 14:13:07 +02:00