roytam1
0ffa8a018a
backport Bug 1724233 - Make sure to run ConvertUTF8toACE before ConvertToDisplayIDN. r=dragana, a=RyanVM
2021-11-10 09:10:25 +08:00
roytam1
d025defb98
Bug 1606864 - Make mDoNotRetryToConnect atomic. r=decoder,dragana a=RyanVM
...
Bug 1712671 - Make nsSocketTransport2::m{Input/Output}StreamClosed atomic. r=kershaw,decoder a=RyanVM
2021-11-10 09:10:25 +08:00
roytam1
1920aae3dc
Bug 1735152 - Avoid using NS_ADDREF in nsSocketTransport. r=dragana, a=RyanVM
2021-11-10 09:10:25 +08:00
Moonchild
43f7d3e27a
[network] Add some sanity checks to deserialized nsStandardURLs
...
Note: C++ lambda expressions are actually useful for once.
2021-07-15 09:26:21 +08:00
Moonchild
0a42897070
[network] Stop blocking 10080
...
Port 10080 is shared by too many devices and services that do need http(s)
access, so this port should not be blacklisted by default.
2021-07-15 09:26:19 +08:00
Moonchild
ba00d14c12
Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa'
2021-06-24 11:09:47 +08:00
Moonchild
98f29e4737
[network] Fix typo in port blocking range check.
...
This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
2021-05-14 00:21:36 +08:00
Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +08:00
Moonchild
69597507db
[Network] Solve type mismatch in AllowPort().
...
Casting it to an int16_t was wrong and would preclude the check for high port
numbers (due to overflow).
This makes the type matching, but adds an explicit check to ensure the port
number passed in is within a valid range.
2021-04-21 21:55:41 +08:00
adesh
942b305400
Issue #1697 - Reinstate the performance timing code removed in error.
...
This was a fallout from pull request #929 .
2020-12-21 15:11:57 +08:00
Moonchild
9f0067af53
Issue #1695 - Restore Sleep/Wake timer that was erroneously removed.
...
This was fallout from PR #929 for Issue #21
2020-12-21 15:11:48 +08:00
Moonchild
f1eb2c5cfb
[network] Update port blacklist.
...
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
2020-12-21 15:10:29 +08:00
Moonchild
f04f4a996f
Issue #1695 - Fix socket timeout logic.
2020-12-10 10:31:43 +08:00
Moonchild
efa2f805fe
[netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.
...
This prevents a potential race and simplifies the code a bit by keeping the
bytes read separate instead of using mData, which is modified from another
thread from OnDataAvailable.
Relaxed atomics are fine for these, since they don't guard any memory.
2020-10-30 09:08:13 +08:00
Moonchild
0cd673d720
Issue #1656 - Part 6: Clean up the build files
2020-09-25 22:04:23 +08:00
Moonchild
538b420319
Issue #1656 - Part 4: Manual cleanup
2020-09-25 22:04:20 +08:00
Moonchild
d7a4abc3d4
Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc
2020-09-25 22:04:18 +08:00
Moonchild
30df895eb2
Issue #1656 - Part 3: Nuke more vim config lines in the tree.
...
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild
52c03190ee
[network/dom] Improve sanitization of download filenames.
2020-07-31 08:07:47 +08:00
Moonchild
8d5005090a
[network] Use query and ref lengths if available in nsStandardURL.
2020-07-11 07:02:31 +08:00
Gaming4JC
c314c2253d
Issue #80 - Add nsSocketTransportService2.h to ThrottleQueue.cpp
2020-05-23 06:53:14 +08:00
Moonchild
2ba616d271
Issue #80 - De-unify netwerk/base
2020-05-23 06:51:39 +08:00
wolfbeast
cf5f069080
Issue #1280 - Part 1: Remove HPKP components.
...
This also removes leftover plumbing for storing preload information
in SiteSecurityService since no service still uses it.
2020-04-03 09:27:11 +08:00
wolfbeast
577055a7e5
Issue #1474 - Prevent the cp detection from starting if preffed off.
...
When setting up connectivity, e.g. with new network detection, the pref
wouldn't be checked (or honored), resulting in spurious startup calls
despite being preffed off. This fixes that.
Resolves #1474
2020-03-13 10:23:25 +08:00
Matt A. Tobin
93a435ae22
Issue #1053 - Remove android support from netwerk
2020-02-27 07:31:14 +08:00
Matt A. Tobin
146d0aa2d2
Issue #1395 - Remove FlyWeb Service
2020-02-08 07:11:37 +08:00
Valentin Gosu
38439fd244
Use mutex in PACResolver when accessing mRequest from multiple threads.
2019-12-06 22:46:44 +08:00
wolfbeast
e7ab106190
Issue #1289 - Part 1: Add a pref to disable HPKP header processing.
2019-11-15 14:24:03 +08:00
wolfbeast
06634f6495
Issue #1134 : Reinstate postDataString for about:home searches.
2019-08-17 13:31:01 +08:00
wolfbeast
a10e2214ee
Do not allow the ^ character to appear in the hostname.
2019-07-22 19:45:20 +08:00
wolfbeast
64191e15cb
Treat all file: URIs as having a unique origin.
...
This prevents cross-file access from files loaded into the browser from
the local file system, further restricting the origin policy of file:
URIs.
Added a pref to control this behavior for local file access if required
for certain applications, since this change might break using the
browser to run applications on the local file system that require
access to local files.
2019-07-22 19:45:02 +08:00
wolfbeast
797f3eae35
Add preference to allow the loading of FTP subresources for corner cases
2019-07-19 10:03:17 +08:00
Matt A. Tobin
cc3e413793
Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h
...
This also magically makes Aero Peek work properly with Pale Moon thus:
Resolves #809
2019-05-17 22:16:24 +08:00
wolfbeast
83ab16d267
Remove some BEOS 1st party code leftovers.
2019-04-19 09:34:04 +08:00
wolfbeast
fdc5d93422
Remove some HPUX leftovers.
...
Resolves #185
2019-04-04 20:26:43 +08:00
wolfbeast
f8d473c3c9
Remove unused SSL errorReporting prefs
...
Resolves #1003 .
2019-03-16 07:02:44 +08:00
wolfbeast
8797f07375
Expose TLS 1.3 cipher suite prefs.
2019-02-16 00:28:17 +08:00
wolfbeast
dbe5dd5e2a
Never let "localhost" get sent to a proxy.
...
Also make "No proxy for" editable always when usable.
2019-02-16 00:28:08 +08:00
wolfbeast
39d5eb7759
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
2019-02-16 00:27:49 +08:00
adeshkp
aea50f182f
Telemetry: Remove stubs and related code
2019-02-16 00:24:04 +08:00
wolfbeast
27d88fc505
Do not report resource-timing subdocument loads triggered by that subdocument.
2019-02-16 00:22:18 +08:00
Gaming4JC
6d3168b74b
backport m-c bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180
2019-02-16 00:16:24 +08:00
Gaming4JC
961f369d66
backport m-c bug 1333174 - Don't use NS_ENSURE_SUCCESS at nsIOService:793
...
Log spam fix. Suppresses 1,100 instances of NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 emitted from netwerk/base/nsIOService.cpp during linux64 debug testing. Backports [m-c 1333174](https://bugzilla.mozilla.org/show_bug.cgi?id=1333174 ).
2019-02-16 00:16:22 +08:00
wolfbeast
57251fc4e7
Clean up a number of unused variables.
...
Tag #21 .
2019-02-16 00:14:50 +08:00
wolfbeast
8c8145e620
Remove all C++ Telemetry Accumulation calls.
...
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
e2e197cada
Remove support for TLS session caches in TLSServerSocket.
...
This resolves #738
2019-02-16 00:12:22 +08:00
wolfbeast
8effb3030e
Reinstate RC4 and mark 3DES weak.
...
Tag #709
2019-02-16 00:11:24 +08:00
wolfbeast
5ffd703f79
Make nsAtomicFileOutputStream::DoOpen() fail if the file is read-only.
...
This means we don't leave behind prefs-<n>.js files when prefs.js is read-only.
2019-02-16 00:08:11 +08:00
janekptacijarabaci
09a81da02d
CSP: Support for "LoadInfo::GetLoadingContext" and "LoadInfo::GetLoadingContextXPCOM()"
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1439713 (partially)
2019-02-16 00:04:33 +08:00