Moonchild
d55111c4fd
[Network] Fix relative URL path starting with multiple slashes
2023-11-24 17:05:20 +08:00
Moonchild
a39fd9e75f
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from modules, netwerk, security, storage, testing, toolkit, and
a few scattered misc files. More to come.
2023-05-05 22:59:16 +08:00
Moonchild
dc4bf9b823
Issue #2180 - Add pref to control NSS TLS 1.3 protocol downgrade sentinel
2023-03-29 11:05:16 +08:00
Moonchild
ca93d4b42d
Issue #1831 - Add an option to enable TLS 1.3 "compatibility" mode.
...
Critical note: this potentially reduces the strength of TLS 1.3 and
should only be enabled if absolutely necessary to access a site.
A browser restart is required for the pref change to take effect as it
is set on NSS initialization.
Resolves #1831
2023-03-29 11:04:44 +08:00
Moonchild
37f0199c79
[Network, DOM] Align our implementation with the current CORS/Fetch spec.
2022-11-25 11:41:52 +08:00
Moonchild
1868e88741
Fix some debug assertions.
...
refactored code porting in assertions causing debug build failures.
2022-10-06 10:26:38 +08:00
Moonchild
5dfded811d
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
Basilisk-Dev
b4c5ebf00a
Issue #1991 - backport Mozilla bug 1266667
2022-09-01 10:18:39 +08:00
Moonchild
991e2ffb4b
[network] Clear PAC loader when the load failed
2022-07-05 17:24:31 +08:00
Moonchild
6b3ab70997
[network] Fix typo in nsSocketTransport2.cpp
...
Follow-up to 7322bc0e9df42bd43d84ec9be22b00c47a09f3d7
2022-05-31 09:42:37 +08:00
Moonchild
7f3a7225af
[network] SocketTransport2 cleanup
2022-05-31 09:40:14 +08:00
Brian Smith
13fcc4a046
Issue #1829 - Revert "Issue #1751 "
2022-05-04 09:40:24 +08:00
Moonchild
eaf9e756a0
Issue #21 - Remove remaining telemetry structs, callers and flags.
2022-04-28 10:33:44 +08:00
Moonchild
8d800b1cb0
Issue #21 - Remove Telemetry plumbing and fix build.
...
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
Moonchild
d4eac725fd
Issue #1877 - Resolve RELEASE_OR_BETA conditionals.
2022-04-21 21:46:47 +08:00
trav90
908d58ab7b
Issue #1804 - Fix building with GCC 11
2022-04-19 22:05:31 +08:00
roytam1
94cafe3a4a
Revert "[network] SocketTransport2 cleanup"
...
This reverts commit b924810a3e .
2022-03-28 22:56:47 +08:00
Randell Jesup
562b04e5c0
[network] BackgroundFileSaver cleanup.
2022-03-22 23:18:26 +08:00
Moonchild
b924810a3e
[network] SocketTransport2 cleanup
2022-03-22 23:16:37 +08:00
roytam1
f43ff83d54
backport Bug 1696685 - r=valentin,nika a=RyanVM
2021-12-14 23:10:15 +08:00
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