roytam1
c0cea40182
Merge remote-tracking branch 'origin/master' into custom
2021-07-15 09:47:07 +08:00
Valentin Gosu
6b11c3f299
[network] Make CacheIOThread::ThreadFunc hold reference to thread.
2021-07-15 09:26:22 +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
3612f45a90
[network] Stop treating http and https as different for encoding schemes.
...
There is no reason to treat available encoding schemes for these protocols
differently.
2021-07-15 09:23:13 +08:00
roytam1
20c6498ca1
Merge remote-tracking branch 'origin/master' into custom
2021-06-24 11:13:09 +08:00
Moonchild
ba00d14c12
Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa'
2021-06-24 11:09:47 +08:00
roytam1
da96236a03
Merge remote-tracking branch 'origin/master' into custom
2021-05-14 00:22:41 +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
roytam1
2c79eebb23
Merge remote-tracking branch 'origin/master' into custom
2021-05-05 10:32:33 +08:00
Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +08:00
Moonchild
434b3269fb
Issue #1767 - Prevent incorrect calling of network change 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.
2021-05-05 10:25:45 +08:00
roytam1
3348d89604
partly imported from bk55:
...
- import changes from tenfourfox:
- #642 : M1699835 (modified)
- #642 : update eTLDs
2021-04-23 09:27:29 +08:00
roytam1
46c9b4df6f
Merge remote-tracking branch 'origin/master' into custom
2021-04-23 09:23:01 +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
roytam1
d72c60c303
Merge remote-tracking branch 'origin/master' into custom
2021-01-27 21:05:06 +08:00
Moonchild
b83d024efb
[network] Hold mutex when accessing mSecurityInfo.
2021-01-27 21:03:07 +08:00
roytam1
2e836f2b39
import change from tenfourfox: #633 : update TLDs, timezone data (7b437c98d)
2021-01-25 21:27:02 +08:00
roytam1
e075f1b671
Merge remote-tracking branch 'origin/master' into custom
2020-12-21 15:13:46 +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
roytam1
0f5904acc6
Merge remote-tracking branch 'origin/master' into custom
2020-12-12 00:15:44 +08:00
Moonchild
f04f4a996f
Issue #1695 - Fix socket timeout logic.
2020-12-10 10:31:43 +08:00
roytam1
ee11f1749b
Merge remote-tracking branch 'origin/master' into custom
2020-12-02 09:58:28 +08:00
Brian Smith
e4030ad075
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
...
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-12-02 09:57:28 +08:00
roytam1
c5bb4ee5fa
Merge remote-tracking branch 'origin/master' into custom
2020-11-20 09:32:22 +08:00
Moonchild
63a7c7f90e
[http] Use a copy of nsHttpConnectionInfo.
...
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.
2020-11-20 09:31:27 +08:00
roytam1
4903a8dfa9
Merge remote-tracking branch 'origin/master' into custom
2020-10-30 09:27:13 +08:00
Moonchild
a77ab3da7f
Issue #1656 - Nuke the remaining vim lines in UXP
...
Closes #1656
2020-10-30 09:09:20 +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
roytam1
c0eddaf735
import tzdata and DNS from tenfourfox (as of rev 16c85bb3)
2020-10-09 21:25:52 +08:00
roytam1
56aaf6a15a
Merge remote-tracking branch 'origin/master' into custom
2020-09-25 22:18:48 +08:00
Moonchild
9305760571
Issue #1656 - Part 9: Single-line-comment style.
2020-09-25 22:07:00 +08:00
Moonchild
d5919942ff
Issue #1656 - Part 8: Devtools and misc.
2020-09-25 22:06:55 +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
roytam1
48b96210d1
partly import change from tenfourfox:
...
- #618 : EV now from ESR78, update TLDs, pins, HSTS (cb0f39c2f)
2020-09-19 07:04:44 +08:00
Roy Tam
61e493cf30
Merge remote-tracking branch 'origin/master' into custom
2020-07-31 08:12:40 +08:00
Michael Tuexen
5ec7dd76e6
[WebRTC] Stop putting addresses in the cookie chunk.
...
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.
2020-07-31 08:08:05 +08:00
Andrea Marchesini
7a37234be2
[xpcom] Make Base64 compatible with ReadSegments() with small buffers.
2020-07-31 08:07:55 +08:00
Moonchild
52c03190ee
[network/dom] Improve sanitization of download filenames.
2020-07-31 08:07:47 +08:00
Roy Tam
a4875a589f
Merge remote-tracking branch 'origin/master' into custom
2020-07-11 07:15:30 +08:00
Moonchild
8d5005090a
[network] Use query and ref lengths if available in nsStandardURL.
2020-07-11 07:02:31 +08:00
Roy Tam
1a8a524849
Merge remote-tracking branch 'origin/master' into custom
2020-05-23 06:59:40 +08:00
adeshkp
6cf6d2da88
Issue #80 - Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac
...
This is needed for forward declaration of `BrowseOperator` and `RegisterOperator`.
2020-05-23 06:53:26 +08:00
Gaming4JC
c314c2253d
Issue #80 - Add nsSocketTransportService2.h to ThrottleQueue.cpp
2020-05-23 06:53:14 +08:00