summaryrefslogtreecommitdiff
path: root/netwerk/base
Commit message (Collapse)AuthorAge
* [Network] Escape external protocol handler URLsMoonchild2021-12-08
|
* Use brace initialization for Atomics.Moonchild2021-11-05
| | | | Remind me to always build BEFORE committing :P
* [network] Make several variables atomic in nsSocketTransport2.Moonchild2021-11-05
| | | | | | | | Fixes potential thread races between: - nsSocketTransport::OnInputClosed and nsSocketTransport::OpenInputStream. - nsSocketTransport::OnOutputClosed and nsSocketTransport::OpenOutputStream. - nsSocketTransport::Close and nsSocketTransport::RecoverFromError called from OnSocketDetached.
* [network] Use a COM pointer instead of NS_ADDREF in nsSocketTransport2.cppMoonchild2021-11-05
|
* [network] Align IDN normalization with the current spec.Moonchild2021-11-05
|
* [network] Clean up IDN logic and add some corner case use.Moonchild2021-11-05
|
* Issue #3004 - Add an option to enable TLS 1.3 "compatibility" mode.Moonchild2021-11-05
| | | | | | | 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.
* [network] Add some sanity checks to deserialized nsStandardURLsMoonchild2021-07-14
| | | | Note: C++ lambda expressions are actually useful for once.
* [network] Stop blocking 10080Moonchild2021-07-14
| | | | | 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.
* Issue mcp-graveyard/UXP#1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == ↵Moonchild2021-06-21
| | | | 'cocoa'
* [network] Fix typo in port blocking range check.Moonchild2021-05-12
| | | | This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
* Issue mcp-graveyard/UXP#1751 -- Remove XP_DARWINMoonchild2021-05-02
|
* [Network] Solve type mismatch in AllowPort().Moonchild2021-04-20
| | | | | | | 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.
* Issue mcp-graveyard/UXP#1697 - Reinstate the performance timing code removed ↵adesh2020-12-16
| | | | | | in error. This was a fallout from pull request #929.
* Revert "Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling ↵Moonchild2020-12-16
| | | | | | | | | timeouts." As of [da0c073a7] we no longer need this workaround because the issue is avoided with proper sleep/wake logic restored. This reverts commit 2fa993b5639e04c7e1d7403ecf9175a223ce50b4.
* Issue mcp-graveyard/UXP#1695 - Restore Sleep/Wake timer that was erroneously ↵Moonchild2020-12-16
| | | | | | removed. This was fallout from PR #929 for Issue mcp-graveyard/UXP#21
* [network] Update port blacklist.Moonchild2020-12-15
| | | | See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
* Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling timeouts.Moonchild2020-12-12
|
* Issue mcp-graveyard/UXP#1695 - Fix socket timeout logic.Moonchild2020-12-08
|
* Revert "Issue mcp-graveyard/UXP#1684 - Remove global UA override preference ↵Moonchild2020-11-15
| | | | | | | | and supporting code." This reverts commit 18df01eb5498c954044f96c346026da0238d2e61. Backed out for devtools breakage.
* Issue mcp-graveyard/UXP#1684 - Remove global UA override preference and ↵Moonchild2020-11-15
| | | | | | supporting code. Resolves #1684
* [netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.Moonchild2020-10-23
| | | | | | | 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.
* Issue mcp-graveyard/UXP#1656 - Part 6: Clean up the build filesMoonchild2020-09-23
|
* Issue mcp-graveyard/UXP#1656 - Part 4: Manual cleanupMoonchild2020-09-23
|
* Issue mcp-graveyard/UXP#1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, ↵Moonchild2020-09-23
| | | | *.webidl, *.cc
* Issue mcp-graveyard/UXP#1656 - Part 3: Nuke more vim config lines in the tree.Moonchild2020-09-23
| | | | Another S&R run with some smarter matching.
* Issue mcp-graveyard/UXP#1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | 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.
* [network/dom] Improve sanitization of download filenames.Moonchild2020-07-29
|
* [network] Use query and ref lengths if available in nsStandardURL.Moonchild2020-07-10
|
* Issue mcp-graveyard/UXP#80 - Add nsSocketTransportService2.h to ↵Gaming4JC2020-05-18
| | | | ThrottleQueue.cpp
* Issue mcp-graveyard/UXP#80 - De-unify netwerk/baseMoonchild2020-05-17
|
* Issue mcp-graveyard/UXP#1280 - Part 1: Remove HPKP components.wolfbeast2020-03-28
| | | | | This also removes leftover plumbing for storing preload information in SiteSecurityService since no service still uses it.
* Issue mcp-graveyard/UXP#1474 - Prevent the cp detection from starting if ↵wolfbeast2020-03-07
| | | | | | | | | | 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
* Issue mcp-graveyard/UXP#1053 - Remove android support from netwerkMatt A. Tobin2020-02-22
|
* Issue mcp-graveyard/UXP#1395 - Remove FlyWeb ServiceMatt A. Tobin2020-02-06
|
* Use mutex in PACResolver when accessing mRequest from multiple threads.Valentin Gosu2019-12-06
|
* Issue mcp-graveyard/UXP#1289 - Part 1: Add a pref to disable HPKP header ↵wolfbeast2019-11-14
| | | | processing.
* Issue mcp-graveyard/UXP#1134: Reinstate postDataString for about:home searches.wolfbeast2019-08-10
|
* Do not allow the ^ character to appear in the hostname.wolfbeast2019-07-20
|
* Treat all file: URIs as having a unique origin.wolfbeast2019-07-20
| | | | | | | | | | | 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.
* Add preference to allow the loading of FTP subresources for corner caseswolfbeast2019-07-14
|
* Remove deprecated appending of #-moz-resolution from Pale Moon and left over ↵Matt A. Tobin2019-05-12
| | | | | | | | from nsMediaFragmentURIParser.h This also magically makes Aero Peek work properly with Pale Moon thus: Resolves #809
* Remove some BEOS 1st party code leftovers.wolfbeast2019-04-14
|
* Remove some HPUX leftovers.wolfbeast2019-04-01
| | | | Resolves #185
* Remove unused SSL errorReporting prefswolfbeast2019-03-14
| | | | Resolves #1003.
* Expose TLS 1.3 cipher suite prefs.wolfbeast2019-02-10
|
* Never let "localhost" get sent to a proxy.wolfbeast2019-02-07
| | | | Also make "No proxy for" editable always when usable.
* Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12
|
* Do not report resource-timing subdocument loads triggered by that subdocument.wolfbeast2018-12-14
|