summaryrefslogtreecommitdiffstats
path: root/netwerk
Commit message (Collapse)AuthorAgeLines
* [http] Use a copy of nsHttpConnectionInfo.Moonchild2020-11-19-7/+8
| | | | | | | 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.
* [netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.Moonchild2020-10-24-10/+14
| | | | | | | 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.
* [WebRTC] Stop putting addresses in the cookie chunk.Michael Tuexen2020-07-29-0/+42
| | | | | | | | | | | 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-0/+96
|
* [network/dom] Improve sanitization of download filenames.Moonchild2020-07-29-0/+12
|
* [network] Use query and ref lengths if available in nsStandardURL.Moonchild2020-07-10-2/+6
|
* Issue #80 - Include MDNSResponderOperator.h in ↵adeshkp2020-05-20-0/+1
| | | | | libmdns/nsDNSServiceDiscovery.h for Mac This is needed for forward declaration of `BrowseOperator` and `RegisterOperator`.
* Issue #80 - Add nsSocketTransportService2.h to ThrottleQueue.cppGaming4JC2020-05-20-0/+1
|
* Issue #80 - De-unify netwerk/wifiMoonchild2020-05-20-9/+6
|
* Issue #80 - De-unify netwerk/streamconvMoonchild2020-05-20-3/+5
|
* Issue #80 - De-unify netwerk/srtpMoonchild2020-05-20-1/+1
|
* Issue #80 - De-unify netwerk/socketMoonchild2020-05-20-2/+3
|
* Issue #80 - De-unify netwerk/protocol/httpMoonchild2020-05-20-15/+17
|
* Issue #80 - De-unify netwerk/protocol/resMoonchild2020-05-20-1/+1
|
* Issue #80 - De-unify netwerk/protocol/ftpMoonchild2020-05-20-1/+5
|
* Issue #80 - De-unify smaller netwerk/protocol componentsMoonchild2020-05-20-5/+8
| | | | | | | | - data - device - file - viewsource - wyciwyg
* Issue #80 - De-unify netwerk/protocol/aboutMoonchild2020-05-20-1/+4
|
* Issue #80 - De-unify netwerk/ipcMoonchild2020-05-20-1/+3
|
* Issue #80 - De-unify netwerk/dnsMoonchild2020-05-20-7/+4
|
* Issue #80 - De-unify netwerk/cookieMoonchild2020-05-20-4/+1
|
* Issue #80 - De-unify netwerk/cache2Moonchild2020-05-20-6/+8
|
* Issue #80 - De-unify netwerk/cacheMoonchild2020-05-20-1/+3
|
* Issue #80 - De-unify netwerk/baseMoonchild2020-05-20-3/+31
|
* [WebRTC] Port some upstream sctp fixesMoonchild2020-05-06-7/+22
| | | | | - add SCTP auth token boundary check. - turn off SCTP auth and address reconfiguration.
* Issue #1505 - Part 3: Make native mode actually native again.wolfbeast2020-04-14-4/+36
|
* Issue #1505 - Part 2: Store application build ID in nsHttpHandlerwolfbeast2020-04-14-16/+13
| | | | | Since we're needing to reuse this several times, it makes it simpler to just get it once in init and storing it.
* Issue #1505 - Rebuild application version stringwolfbeast2020-04-14-37/+46
| | | | | | | To respond dynamically to the pref change, the mAppVersion string needs to be rebuilt. Includes some minor improvements for corner cases and removes leftover b2g junk.
* Issue #1280 - Un-bust certerror pages and ForgetAboutSitewolfbeast2020-04-14-12/+1
|
* Issue #1280 - Part 1: Remove HPKP components.wolfbeast2020-04-14-21/+0
| | | | | This also removes leftover plumbing for storing preload information in SiteSecurityService since no service still uses it.
* Issue #1473 - Fix building `%OS_SLICE%` on non-Windows platformsJustOff2020-04-14-5/+22
|
* [network] Cherry-pick various sctp lib upstream fixes.wolfbeast2020-04-14-9/+24
|
* Issue #1482 - Give dynamic SSUAO rules priority over static onesJustOff2020-04-14-7/+19
|
* Issue #1053 - Remove no longer used function and modules from ↵JustOff2020-04-14-30/+0
| | | | `UserAgentUpdates.jsm`
* Issue #1473 - Add `%OS_SLICE%` macro to SSUAO to refine OS infoJustOff2020-04-14-1/+4
|
* Issue #1474 - Prevent the cp detection from starting if preffed off.wolfbeast2020-04-14-4/+4
| | | | | | | | 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 #1053 - Remove android support from ↵Matt A. Tobin2020-04-14-55/+0
| | | | netwerk/protocol/http/nsHttpHandler.cpp
* Issue #1053 - Remove android support from netwerkMatt A. Tobin2020-04-14-1404/+16
|
* [Network] Bump http channel default Firefox CompatMode init value.wolfbeast2020-04-14-1/+1
|
* Issue #1395 - Remove FlyWeb ServiceMatt A. Tobin2020-04-14-15/+0
|
* Fix preprocessor directive in UserAgentUpdates.jsmNew Tobin Paradigm2020-04-14-1/+1
|
* Issue #65 - Remove AppConstants from netwerk/Matt A. Tobin2020-04-14-10/+9
|
* Fix whitespace.athenian2002020-01-26-1/+1
|
* Issue #1349 - Stop 2xx FTP responses from causing browser to hang.athenian2002020-01-26-4/+20
| | | | | | LIST and RETR still appear to work as intended on ftp:// URLs after my changes. I wasn't able to test STOR because the browser doesn't appear to support FTP uploads at this time (although our FTP implementation appears perfectly capable of doing an FTP upload.) If I understood the issue correctly, though, what we're doing is ensuring that we receive a preliminary 100 response from the FTP server for a given action before jumping to the 200 code describing what we do if the action was completed. Even though it makes no logical sense for a server to say an action was completed before it was initiated, someone could write a really annoying FTP server that takes advantage of this fact to crash the browser if they wanted.
* No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT.wolfbeast2020-01-18-2/+6
|
* Revert "No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT."wolfbeast2020-01-18-6/+2
| | | | This reverts commit 67d336a6f27889bdef4723194b6611d049830266.
* No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT.wolfbeast2020-01-17-2/+6
|
* Handle missing base64 challenge in NegotiateAuth and NTLMAuth.wolfbeast2020-01-09-2/+2
|
* Use mutex in PACResolver when accessing mRequest from multiple threads.Valentin Gosu2019-12-06-6/+20
|
* Issue #1288 - Use NS_DECL_THREADSAFE_ISUPPORTS in HttpBaseChannel.cppGaming4JC2019-11-16-1/+1
| | | | Fixes a regression in Part 1b which caused HTML5 parser to fall off the main thread.
* Issue #1289 - Part 1: Add a pref to disable HPKP header processing.wolfbeast2019-11-14-0/+8
|