Commit Graph

98 Commits

Author SHA1 Message Date
Neil Rashbrook
e984c9b8bc Bug 1078026 Clean up XPCOM string usage r=sworkman 2014-10-10 08:40:11 +01:00
James Willcox
3e19f27830 Bug 1024614 - Guard against null resolver when flushing DNS cache r=sworkman
--HG--
extra : histedit_source : 028f9b336a9da0ede7fec22afc4cabd00b86222f
2014-09-26 13:31:22 -05:00
Daniel Stenberg
19d039df28 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
Ed Morley
6c7b4f5958 Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Daniel Stenberg
9b14e61d5f 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
edc23b7817 Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman 2014-09-20 15:10:18 -07:00
Ryan VanderMeulen
8017b23648 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Dragana Damjanovic
5c1e528724 Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Daniel Stenberg
08c0f03cf8 Bug 939318 - Detect network interface changes on windows properly. 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.

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)

HttpHandler: acts on network changes
2014-08-24 23:19:00 -04:00
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Ehsan Akhgari
77dfc12d57 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Patrick McManus
8d789efedf Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Steve Workman
793520eac4 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Valentin Gosu
59b9bc3637 Bug 1026022 - Check that string is UTF8. r=mcmanus 2014-07-02 19:12:19 +03:00
Nicu Badescu
f7cc46ac37 Bug 1026656 - Fix resolve accessing temporary variable. r=valentin.gosu, r=mcmanus 2014-06-22 15:55:00 -04:00
Benoit Jacob
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Georg Koppen
39179ce95a Bug 971153 - Write a test for bug 751465. r=mcmanus
This patch adds a) a test for the fixed proxy bypass in bug 751465 and
makes b) some underlying changes to the nsDNSService to be able to write
that test in the first place.
2014-04-15 22:13:00 +02:00
Patrick McManus
93c9394a56 bug 982565 - make dns ttl and grace period prefs respect 1s granularity r=sworkman 2014-03-09 06:01:56 -04:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Jason Duell
cbec7de3de Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Carsten "Tomcat" Book
ef58a8307d Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
dfd8de8742 Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -08:00
Nicholas Nethercote
77419f6a47 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
c3970a73fb Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
bf145657e1 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
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Valentin Gosu
889ebbb081 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Joshua Cranmer
35b47f34ec Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Arnaud Sourioux
30ed8ff0d8 Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg 2013-07-19 12:53:12 -04:00
Josh Matthews
f959b7ac58 Bug 887191 - Force wrapped JS listeners to proxy callbacks to the main thread if no target is specified. r=mcmanus 2013-06-26 15:54:05 +01:00
Josh Matthews
28e143888e Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-20 09:18:16 +02:00
Phil Ringnalda
bd0ec5b2d5 Back out c50503ce8669 (bug 883495) for still leaking
CLOSED TREE
2013-06-19 20:20:52 -07:00
Josh Matthews
2ad99168c0 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-20 02:33:57 +02:00
Josh Matthews
5d38df57c6 Backed out changeset 5a3dc3d31890 (bug 883495) 2013-06-19 18:16:04 +02:00
Josh Matthews
f7e20989e0 Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-19 16:28:33 +02:00
Ryan VanderMeulen
10869ba7c5 Backed out changeset fb43bd87db39 (bug 883495) for mass carnage of a CLOSED TREE. 2013-06-18 13:02:40 -04:00
Josh Matthews
942ce7045d Bug 883495 - Avoid releasing a scriptable DNS listener off the main thread. r=mcmanus 2013-06-16 11:56:15 +01:00
Steve Workman
fc986bca8c Bug 870652 - Add null ptr check in nsDNSRecord::ReportUnusable to avoid crashing r=mcmanus 2013-05-14 16:35:18 -07:00
Patrick McManus
beac071548 bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh 2013-04-08 12:02:41 -04:00
Honza Bambas
edca9830f3 Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Bobby Holley
6b99053512 Bug 850245 - Remove Off-Main-Thread XPCWrappedJS refcounting from DNSListenerProxy. r=mcmanus 2013-03-18 20:39:53 -07:00
Simon Montagu
b3698b1032 Remove network.enableIDN pref. Bug 842282, r=honza.b 2013-03-03 18:36:37 +02:00
Honza Bambas
ad9a101b7d Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus 2013-01-29 23:49:35 +01:00
Ryan VanderMeulen
477f66a61e Backed out changeset 0aea65518be3 (bug 725587) for bustage. 2013-01-29 17:01:10 -05:00
Honza Bambas
f9a3d75fd5 Bug 725587 - Firefox jumps randomly from IPv6 to IPv4 and vice versa in dual-stack environment, r=mcmanus 2013-01-29 22:44:58 +01:00
Honza Bambas
64ef77dfa4 Backout of changeset 816f076c2c15 2013-01-29 22:26:47 +01:00