Commit Graph

37 Commits

Author SHA1 Message Date
Sylvestre Ledru
fe74f041a1 Bug 1338086 - Remove useless else blocks in order to reduce complexity in netwerk/ r=dragana
MozReview-Commit-ID: 2TSxhHWmL2H
2017-02-09 11:21:38 +01:00
Liang-Heng Chen
f34a426e4d Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder
MozReview-Commit-ID: It2l5BJuHiS
2016-11-03 18:15:07 +08:00
Andi-Bogdan Postelnicu
15794c143e Bug 1311669 - replace default bodies of special member functions with = default; r=valentin
MozReview-Commit-ID: YxHWVHUyDq
2016-11-01 14:44:09 +02:00
Andi-Bogdan Postelnicu
c2eea2fd98 Bug 1311669 - use auto type specifier for variable declarations to improve code readability and maintainability. r=valentin
MozReview-Commit-ID: F5YO9pVK5O8
2016-11-01 14:44:09 +02:00
Valentin Gosu
456aa2ab22 Bug 1301069 - Backed out bug 1185120 (changeset 38cad72a77a6) a=backout a=merge 2016-09-08 00:04:07 +02:00
Yen Chi Hsuan
1417a6989c Bug 1185120 - Convert raw pointers in DNS.cpp and nsHostResolver.cpp to smart pointers. r=valentin 2016-09-05 03:47:58 +08:00
Patrick McManus
66901a1e5b Bug 1274605 dont update dns generations on validated renewals r=dragana 2016-07-07 21:04:36 -04:00
Andrea Marchesini
35d4d535a5 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
5d8570c820 Backed out changeset d6b0ffe1a7b3 (bug 1231378) 2016-01-12 15:48:54 +01:00
Andrea Marchesini
6832bea360 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 13:57:37 +00:00
Valentin Gosu
6820c7abe3 Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me 2015-11-28 00:20:01 +01:00
Valentin Gosu
feb20b839e 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
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Patrick McManus
d286dac79b bug 1162821 - filter dns name collision records r=sworkman IGNORE IDL 2015-05-08 14:18:20 -04:00
Mike Hommey
44945d9d4c Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09: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
Byron Campen [:bwc]
fbd91e1365 Bug 963524 - Avoid setting SO_REUSEADDR when binding a UDP socket to port 0, since the linux kernel might select an already open port. r=mcmanus 2014-07-30 15:02:58 -07:00
Patrick McManus
b6208f8bcb 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
368b902162 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Ehsan Akhgari
860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05: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
Carsten "Tomcat" Book
dab9140074 Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
8b747e58d5 Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -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
Steve Workman
9eeca403bf Bug 853423 - Block speculative connections for local IP addresses r=mcmanus 2013-11-10 22:59:40 -08:00
Jim Blandy
668ab7711b Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07: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
5601be114e bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh 2013-04-08 12:02:41 -04: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
Jacek Caban
875f2ecf8f Bug 807678 - fixed mingw cross compilation on case-sensitive OSes 2013-01-02 18:25:32 +01: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
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