Commit Graph
255 Commits
Author SHA1 Message Date
Kris Maglione b0e7882fea Bug 1402944: Part 2 - Move error string logic into ChannelWrapper. r=mixedpuppy,ehsan
MozReview-Commit-ID: 4rOeoliLTV7
2017-09-22 18:43:18 -07:00
Valentin Gosu 1e2d8edd75 Bug 1399300 - Backed out changeset a51cf9c048a1 (bug 910207) a=backout
MozReview-Commit-ID: 3l6B9n7VM1o
2017-09-13 10:51:18 +02:00
Honza Bambas 2b8812b8c8 Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: IHKzHwsJUiQ
2017-09-01 10:42:00 +02:00
Sebastian Hengst 049b97c4d9 Backed out changeset 9c00078ce6ab (bug 910207) for eslint failure at browser/base/content/test/urlbar/browser_urlbar_search_no_speculative_connect_with_client_cert.js:48: Expected method shorthand. r=backout 2017-09-08 20:42:07 +02:00
Honza Bambas acaf66387b Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: CtNPV9kFqJM
2017-09-01 10:42:00 +02:00
Eric Rahm bf94c13168 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.
2017-08-16 16:48:52 -07:00
Sajjad Arshad fcbd21c188 Bug 1388925 - Add an opaque flags to have a fine-grained control over TLS configurations. r=mcmanus, r=keeler
This flags is added in the http channel interface by which developers can control the TLS
connections from JavaScript code (e.g. Add-ons). Basically, all the changes accounted for
plumbing this TLS flags from JavaScript level to C++ code responsible for calling NSS
module. We also added a unit test to make sure that separate connections are created if we
use different tlsFlags. Basically we used a concrete set of flag values that covers the
edge cases and check the hashkey generated in the connection info.
2017-08-16 12:41:16 -07:00
Sylvestre Ledru 9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Nicholas Nethercote fcd4f4fa21 Bug 1376638 - Minimize uses of prmem.h. r=glandium.
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)

This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
2017-06-30 19:05:41 -07:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey 5aec5bf1e9 Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer)
MozReview-Commit-ID: IHBt6XAG8em
2017-06-12 20:21:43 -07:00
Nathan Froyd a3cd9ee75a Bug 1360236 - make gSocketThread an internal implementation detail of nsSocketTransportService; r=mcmanus
This change makes the code a little cleaner and reduces the number of
places we call PR_GetCurrentThread, which is important for Quantum DOM
scheduling work.

The conversion was largely automatic, via:

find netwerk/ -name \*.cpp | \
  xargs sed -i -e 's/MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread[^;]*/MOZ_ASSERT(OnSocketThread(), "not on socket thread")/'

and related invocations, with a few manual tweaks at the end.
2017-04-27 14:34:42 -04:00
Patrick McManus 2f5b903456 Bug 1337791 - Part 1: JoinConnection() from psm. r=keeler 2017-04-03 17:23:09 -04:00
Liang-Heng Chen b03ce020d5 Bug 1348841 - switch on blocking mode for named-pipe only on windows; r=bagder,mayhemer
MozReview-Commit-ID: Gvm88q26VHK
2017-03-22 14:58:03 +08:00
Tim Huang 98a583c4bd Bug 1337893 - Part 3: Updating Necko for DNS changes. r=valentin
MozReview-Commit-ID: AVEp3hP7XqB
2017-02-15 17:48:15 +08:00
Wes Kocher a25c094373 Merge inbound to central, a=merge
MozReview-Commit-ID: JupSuUl7bTn
2017-01-12 16:03:18 -08:00
Andrea Marchesini 46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Liang-Heng Chen 4939c2ce24 Bug 243986 - Handle SOCKS5 remote DNS resolution error; r=bagder
MozReview-Commit-ID: 9ahlJTrym8N
2016-12-21 18:20:28 +08:00
Patrick McManus 1889ab84d2 Bug 1321783 - Make updater be networking conservative r=dkeeler r=rstrong r=dragana 2016-12-02 16:49:23 -05:00
Jonathan Hao 64bc5f77d6 Bug 1315143 - Make OCSP use Origin Attribute framework (Necko). r=mayhemer 2016-11-21 11:43:06 +08:00
Carsten "Tomcat" Book a67bc0700a Backed out changeset 690c0cdddff7 (bug 1315143) for bustage 2016-11-14 12:52:35 +01:00
Jonathan Hao 4f67806e5f Bug 1315143 - Make OCSP use Origin Attribute framework (Necko). r=Cykesiopka,keeler 2016-11-14 18:26:12 +08:00
Jacek Caban 4de7549a07 Bug 1288308: cross-compilation fixup. 2016-11-04 15:40:33 +01:00
Liang-Heng Chen bc9f275db7 Bug 1288308 - Part 2: implement Named Pipe IO layer; r=bagder,mayhemer
MozReview-Commit-ID: 85MbD0QFRRq
2016-11-03 18:15:08 +08:00
Liang-Heng Chen c5fb4e48a7 Bug 1288308 - Part 1: implement nsNamedPipeService; r=bagder,mayhemer
MozReview-Commit-ID: Q4shjYz2gK
2016-11-03 18:15:08 +08: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
Carsten "Tomcat" Book d2332d4a8f Backed out changeset 41aca5073e9d (bug 1288308) for m-oth failures 2016-11-02 15:35:51 +01:00
Carsten "Tomcat" Book d4254eeb05 Backed out changeset 2c52d5c8fe22 (bug 1288308) 2016-11-02 15:34:46 +01:00
Carsten "Tomcat" Book 03c25b3586 Backed out changeset e81bf7852eb2 (bug 1288308) 2016-11-02 15:34:44 +01:00
Liang-Heng Chen e385603aaa Bug 1288308 - Part 2: implement Named Pipe IO layer; r=bagder,mayhemer
MozReview-Commit-ID: 85MbD0QFRRq
2016-11-02 18:43:33 +08:00
Liang-Heng Chen c4fe042b56 Bug 1288308 - Part 1: implement nsNamedPipeService; r=bagder,mayhemer
MozReview-Commit-ID: Q4shjYz2gK
2016-11-02 18:43:31 +08:00
Liang-Heng Chen 7b19c19155 Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder
MozReview-Commit-ID: It2l5BJuHiS
2016-11-02 18:43:29 +08:00
Liang-Heng Chen 8e27612cf6 Bug 1311275 - use protocol service directly instead of NS_GetFileFromURLSpec; r=mayhemer
MozReview-Commit-ID: 26ElbTXr6fI
2016-10-19 20:34:00 +02:00
Liang-Heng Chen 16b1ad6476 Bug 1311044 - show error when connection to domain socket is failed; r=bagder
MozReview-Commit-ID: GtqKiMVwQyX
2016-10-19 18:28:02 +08:00
Jonathan Hao f1c3f1aef0 Bug 1264562 - Part 1: Add firstPartyDomain to socket transport (adapted from Tor Browser patch 13670) r=mayhemer 2016-10-12 15:32:22 +08:00
Mark Smith a23fd13784 Bug 1308275 - make unix domain socket support spaces; r=bagder
MozReview-Commit-ID: 7tE6VztAYp2
2016-10-17 01:01:00 +02:00
Ryan VanderMeulen 5927239b10 Bug 1297276 - Fix another instance of mozilla/unused.h that snuck in.
CLOSED TREE
2016-08-25 09:31:35 -04:00
Liang-Heng Chen 329186aa97 Bug 1211567 - Enable domain socket support for SOCKS; r=bagder
MozReview-Commit-ID: 9yMFckwPf6C
2016-06-30 11:23:40 +08:00
Dragana Damjanovic ac872e009d Bug 1264578 - NSS support for http with TLS 1.3. r=keeler 2016-08-19 05:01:00 -04:00
Sebastian Hengst bb51903126 Backed out changeset 80942fb9a0f1 (bug 1264578) 2016-08-18 17:28:09 +02:00
Dragana Damjanovic 95b59cdad4 Bug 1264578 - NSS support for http with TLS 1.3. r=keeler 2016-08-17 13:57:00 -04:00
Nicholas Nethercote bc0819e049 Bug 1293568 - Remove unused file nsSOCKS4SocketProvider.h. r=valentin. 2016-08-09 16:11:30 +10:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Thomas Zimmermann 7b20346763 Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Martin Thomson 6551249aee Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler
MozReview-Commit-ID: 4mLdtsdFoKN
2016-04-04 16:21:19 -03:00
Chris Peterson 1e35dbdf75 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00