Commit Graph

70 Commits

Author SHA1 Message Date
Patrick McManus
61e8326ec0 Bug 820391 - Backout revision 4741ef815af9 for various regressions.
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
b639a7705e Backed out changeset 49502f43bd03 for landing with the wrong bug number. 2014-08-21 11:03:02 -04:00
Patrick McManus
c053329b75 bug 820931 - backout 4741ef815af9 r=backout
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00
josullivan
5b050f249b 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
f3ab58aa4e bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman 2014-03-09 06:01:56 -04:00
Nicholas Nethercote
a792fdb68e Bug 969902 - Fix a problem with DNS memory reporting measurement. r=sworkman.
--HG--
extra : rebase_source : a9fba2e21b2f9ecb267367a9006883d2bbd313e4
2014-03-10 15:44:35 -07:00
Patrick McManus
a7e7d75eb8 bug 981513 - revert 807441 r=sworkman
--HG--
extra : rebase_source : d2c219fe01b6e4e0fdf25b920df0091039cf4c18
2014-03-09 11:00:18 -04:00
Nicholas Hurley
6480bda07a Bug 957759 - Remove SRV experiment code (helps prevent crashes). r=mcmanus 2014-01-09 13:50:04 -08:00
Birunthan Mohanathas
dfbad43639 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Nicholas Hurley
8ff706eb4a Bug 950888 - Check for null DNS results before using them. r=mcmanus 2013-12-19 12:54:47 -08:00
Jason Duell
3b0bd1832e 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
0a7f2b439b Bug 942317. Bustage fix for windows r=bustage 2013-12-11 02:05:40 -08:00
Nicholas Hurley
da71b9af63 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
0c23366eff 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
53e45bd21d 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
Ehsan Akhgari
1482ff3f90 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Steve Workman
1f702a3d61 Bug 941884 - Add some null checks for nsHostRecords r=mcmanus 2013-11-22 11:15:52 -08:00
Steve Workman
b27aba1941 Bug 941884 - Add negative DNS cache entries to the eviction queue r=mcmanus 2013-11-22 11:15:51 -08:00
Ehsan Akhgari
3ff43ded6a 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
3e0aa7b9b8 Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Steve Workman
887374ba06 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
79bf43a7d3 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Adrian Lungu
94d96bd431 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
bcf5650b54 bug 887753 - server not found after reconnecting to etherpad r=sworkman 2013-07-19 18:40:00 -04:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Trevor Saunders
ea8461a6ca bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Patrick McManus
afd013ce0b bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh 2013-04-08 12:02:41 -04:00
Honza Bambas
c59818af3e Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Josh Aas
3e151f5e6d Bug 826238: Convert DNS expiration tracking to TimeStamp/TimeDuration. r=sworkman 2013-02-14 09:03:51 -06:00
Masatoshi Kimura
18092c2800 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
711f00ce9a Bug 825275: Fix DNS cache enumerator crash. r=sworkman 2013-01-02 16:46:27 -05:00
Josh Aas
031cfa7598 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
9a4cf133f0 Back out fix for bug 807678 again, cset ec4e88c2c77a. 2012-12-20 17:39:30 -05:00
Patrick McManus
0969482975 bug 807441 increase stickiness of dns choices r=josh 2012-12-20 15:51:11 -05:00
Josh Aas
66519055f4 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
c606bc83dc 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
e5b429383c 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
fddc917df4 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Josh Aas
fcf3dd7c7c Bug 805425: Fix shutdown crash that can happen when doing DNS logging. r=sworkman 2012-10-26 08:12:53 -04:00
Andrew Quartey
b50ced0c60 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
52003ca06d Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
fe6d81410d Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ehsan Akhgari
8c296bbcd4 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
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Josh Aas
9324d7be12 Bug 774271: Improve DNS logging. r=sworkman 2012-07-16 18:37:28 -04:00
Josh Aas
4880d7e328 Bug 771489: Use standard threadsafe refcounting in host resolver. r=sworkman 2012-07-10 10:14:01 -04:00