summaryrefslogtreecommitdiff
path: root/netwerk
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] Tighten checks for ACE (punycode) encoding.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.
* No Issue - Nuke remaining dbsoft contributionsJeremy Andrews2021-11-05
|
* [network] Use a proof of lock everywhere in cache v2.Moonchild2021-08-11
|
* [network] Make CacheIOThread::ThreadFunc hold reference to thread.Valentin Gosu2021-07-14
|
* [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.
* [network] Stop treating http and https as different for encoding schemes.Moonchild2021-07-10
| | | | | There is no reason to treat available encoding schemes for these protocols differently.
* 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
* Merge branch '1767'Moonchild2021-05-02
|\
| * Issue mcp-graveyard/UXP#1767 - Prevent incorrect calling of network change ↵Moonchild2021-04-26
| | | | | | | | | | | | | | | | detection function. This rewrites the websocket channel network change detection function to not skip part of its logic in a situation that has already been checked, preventing a thread race. See analysis of the problem in the issue.
* | 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#1741 - Follow-up: Remove superfluous prefobserverMoonchild2021-02-15
| | | | This one is no longer necessary (and incorrect) after the changes made in #1684
* Issue mcp-graveyard/UXP#1741 - Add missing prefobserver for ↵Moonchild2021-02-14
| | | | | | general.useragent.* prefs Resolves #1741
* [network] Hold mutex when accessing mSecurityInfo.Moonchild2021-01-27
|
* Redundant code path cleanup (#1702)Moonchild2021-01-02
| | | | | | | | | Remove various obsolete configure options. Remove Adjust SDK install tracking filth. Remove redundant code paths in old-configure This also optimizes linker use Remove redundant conditional blocks. Rewrite span.h without constexpr use.
* 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
|
* Merge pull request 'Fix macOS version detection above 10.15 and update ↵Moonchild2020-12-01
|\ | | | | | | | | | | blocklist support to 11.0' (#1692) from dbsoft/UXP:Big_Sur_Version into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1692
| * Issue mcp-graveyard/UXP#1690 - Part 1: Fix MacOS version detection above 10.15.Brian Smith2020-11-23
| | | | | | | | Changes based on Mozilla bug 1616404 but supporting back to 10.7.
* | Issue mcp-graveyard/UXP#1684 - Move global user-agent override to networking ↵Moonchild2020-11-27
|/ | | | | | | component. Since this is a http protocol networking feature, it belongs in the networking branch of our preferences.
* [http] Use a copy of nsHttpConnectionInfo.Moonchild2020-11-19
| | | | | | | The root cause in this bug is that the connection info used by 'SpdyConnectTransaction' is the same instance as the connection info in 'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use the cloned one.
* 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
* Issue mcp-graveyard/UXP#1656 - Nuke the remaining vim lines in UXPMoonchild2020-10-26
| | | | Closes #1656
* [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 9: Single-line-comment style.Moonchild2020-09-24
|
* Issue mcp-graveyard/UXP#1656 - Part 8: Devtools and misc.Moonchild2020-09-24
|
* 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.
* [WebRTC] Stop putting addresses in the cookie chunk.Michael Tuexen2020-07-29
| | | | | | | | | | | When using AF_CONN addresses, don't put these in the COOKIE chunk. For these addresses it is possible to reconstruct them locally. Conceptually, addresses are something to be shared with the peer, but in the case of AF_CONN this might not be the case. Therefore, zero then out. Thanks to Natalie Silvanovich of Google Project Zero for finding and reporting the issue.
* [xpcom] Make Base64 compatible with ReadSegments() with small buffers.Andrea Marchesini2020-07-29
|
* [network/dom] Improve sanitization of download filenames.Moonchild2020-07-29
|
* [network] Use query and ref lengths if available in nsStandardURL.Moonchild2020-07-10
|
* Merge pull request #1556 from adeshkp/patch-18Moonchild2020-05-19
|\ | | | | Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac