Daniel Stenberg
af7be33d91
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
a3f46a74b1
Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus
2014-09-24 09:56:13 -07:00
Ed Morley
5eda4c7b7e
Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE
2014-09-24 16:17:57 +01:00
Daniel Stenberg
5844edb1f6
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
dfa453019a
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
ba204f33bc
Bug 820391 - Backout revision 4741ef815af9 for various regressions.
...
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
f3f389cff3
Backed out changeset 49502f43bd03 for landing with the wrong bug number.
2014-08-21 11:03:02 -04:00
Patrick McManus
576f63ec54
bug 820931 - backout 4741ef815af9 r=backout
2014-08-21 10:53:11 -04:00
josullivan
bf594e4466
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
Patrick McManus
fd7a91c539
bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman
2014-03-09 06:01:56 -04:00
Nicholas Nethercote
c145d0baeb
Bug 969902 - Fix a problem with DNS memory reporting measurement. r=sworkman.
2014-03-10 15:44:35 -07:00
Patrick McManus
f2c475ba89
bug 981513 - revert 807441 r=sworkman
2014-03-09 11:00:18 -04:00
Nicholas Hurley
bf4c713d96
Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus
2014-01-09 13:50:04 -08:00
Birunthan Mohanathas
49ae16d483
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
2014-01-06 10:06:04 -05:00
Nicholas Hurley
25c28db55a
Bug 950888 - Check for null DNS results before using them. r=mcmanus
2013-12-19 12:54:47 -08:00
Jason Duell
aff7a80ada
Bug 945066: remote nsIDNSService to child. r=jdm
...
* * *
bug 945066. Fix windows bustage. r=jduell
2013-12-11 11:03:51 -08:00
Jason Duell
403f05b79d
Bug 942317. Bustage fix for windows r=bustage
2013-12-11 02:05:40 -08:00
Nicholas Hurley
3faf8ff253
Bug 942317 - An experiment to test how reachable SRV records are in the wild. r=mcmanus
2013-12-05 15:23:22 -08:00
Steve Workman
9ed7fd05ad
Bug 938803 - Correct typo in nsHostResolver::ResolveHost for Bug 941884: 'he' to 'unspecHe' r=mcmanus
2013-11-25 14:58:29 -08:00
Nicholas Nethercote
c6869641e6
Bug 893857 (part 2) - Add a memory reporter for the DNS service. r=sworkman.
2013-11-24 15:24:12 -08:00
Ehsan Akhgari
8b3a2feabb
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Steve Workman
557b4f20a4
Bug 941884 - Add some null checks for nsHostRecords r=mcmanus
2013-11-22 11:15:52 -08:00
Steve Workman
a325925b3b
Bug 941884 - Add negative DNS cache entries to the eviction queue r=mcmanus
2013-11-22 11:15:51 -08:00
Ehsan Akhgari
8fd6a10a61
Follow-up to bug 941406 - Mark a variable as DebugOnly in order to shut up the compiler warning
...
Landed on a CLOSED TREE
2013-11-22 10:56:47 -05:00
Nathan Froyd
e6a22dd4f6
Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell
2013-11-20 13:17:01 -05:00
Steve Workman
efbe9ecd26
Bug 938803 - Improve DNS debugs to show which path is taken in nsHostResolver::ResolveHost r=mcmanus
2013-11-21 13:35:44 -08:00
Birunthan Mohanathas
a329e63203
Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan
2013-09-19 15:28:26 -04:00
Adrian Lungu
5bfe6d3fcb
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
Patrick McManus
ba534980db
bug 887753 - server not found after reconnecting to etherpad r=sworkman
2013-07-19 18:40:00 -04:00
Ehsan Akhgari
649adb7390
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Trevor Saunders
98ef2b6ef8
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Patrick McManus
5601be114e
bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh
2013-04-08 12:02:41 -04:00
Honza Bambas
3f6ad88c7d
Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal
2013-03-28 18:38:04 +01:00
Josh Aas
1010a9f5f0
Bug 826238: Convert DNS expiration tracking to TimeStamp/TimeDuration. r=sworkman
2013-02-14 09:03:51 -06:00
Masatoshi Kimura
b444754475
Bug 825501 - Remove IPv4 records manually because PR_GetAddrInfoByName dislike PR_AF_INET6. r=honzab
2013-01-25 08:30:12 +09:00
Josh Aas
bf8f453a2e
Bug 825275: Fix DNS cache enumerator crash. r=sworkman
2013-01-02 16:46:27 -05:00
Josh Aas
2f597db3d9
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
Josh Aas
dc35c1d29f
Back out fix for bug 807678 again, cset ec4e88c2c77a.
2012-12-20 17:39:30 -05:00
Patrick McManus
df1affe018
bug 807441 increase stickiness of dns choices r=josh
2012-12-20 15:51:11 -05:00
Josh Aas
0882d3a472
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-20 14:47:07 -05:00
Ed Morley
1f499780a1
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
02c31fd8cc
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
97b3e6078a
Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi
2012-12-10 09:13:55 -05:00
Josh Aas
5248544513
Bug 805425: Fix shutdown crash that can happen when doing DNS logging. r=sworkman
2012-10-26 08:12:53 -04:00
Andrew Quartey
3c46b00d0f
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
2f4b8e52dc
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
c70ace2203
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Ehsan Akhgari
57ec2ec569
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
9053439fd6
Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger
2012-09-17 18:45:10 -05:00
Ehsan Akhgari
243c878d26
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