summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol
Commit message (Collapse)AuthorAgeLines
* 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 #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 #1473 - Fix building `%OS_SLICE%` on non-Windows platformsJustOff2020-04-14-5/+22
|
* 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 #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-609/+2
|
* [Network] Bump http channel default Firefox CompatMode init value.wolfbeast2020-04-14-1/+1
|
* 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
|
* 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 #1275 - Add pref to disable warning prompts for SuperfluousAuthwolfbeast2019-11-07-3/+15
| | | | | | and AutomaticAuth, and default to not prompting. This resolves #1275.
* Add null check in Http2Session::RecvAltSvcwolfbeast2019-10-23-0/+1
|
* Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups ↵win7-72019-08-08-0/+3
| | | | | | along with it (1445670 and 1373780 part 2 and 3) Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
* Implement a threadsafe & revised version of http2PushedStream.wolfbeast2019-07-22-32/+145
| | | | This re-applies the patch for this with added typename declaration.
* Revert "Implement a threadsafe & revised version of http2PushedStream."wolfbeast2019-07-21-144/+32
| | | | | | Backed out because of gcc build failures. This reverts commit 66fae1d81013a2321e7d607a426f834a01b847ce.
* Bug 1548822.Honza Bambas2019-07-20-3/+7
|
* Check port safety for AltSvcwolfbeast2019-07-20-0/+5
|
* Bug 1550498.Honza Bambas2019-07-19-3/+8
|
* Implement a threadsafe & revised version of http2PushedStream.wolfbeast2019-07-18-32/+144
|
* Block http auth prompt for cross-origin image subresources by default.wolfbeast2019-07-15-7/+21
| | | | | | Still allow this to be bypassed with a pref for those really rare corner cases where images are loaded cross-origin by design and the session hasn't been/can't be authenticated ahead of time.
* Convert UI-dictating FTP errors to console errors.wolfbeast2019-03-23-118/+4
|
* Return proper error if the nss layer encounters an error on the httpwolfbeast2019-03-22-26/+30
| | | | tunnel.
* Close the transaction if PR_Read/PR_Write failed.wolfbeast2019-03-22-15/+51
| | | | | | When PR_Read/PR_White returns -1, we have to use ErrorAccordingToNSPR to get the error code. We need to close the transaction if a real error happens.
* Part 1: network component changes.wolfbeast2019-03-07-19/+100
|
* Make `AllowExperiments` return `false` as it is not useful without telemetryadeshkp2019-01-14-1/+4
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-146/+3
|
* Do not report resource-timing subdocument loads triggered by that subdocument.wolfbeast2018-12-14-4/+7
|
* Add a nullcheck on pipelined HTTP connections' pushback.wolfbeast2018-11-20-0/+5
|
* #863 Part 1: Make sending of http upgrade-insecure-requests optionalwolfbeast2018-11-05-2/+11
| | | | Defaults to false if not configured.
* Backout opportunistic encryption changes.wolfbeast2018-11-04-11/+2
| | | | | | Apparently there is some functional and naming confusion here. Backing out to re-land after evaluation and possible changes. Tag #863.
* Make opportunistic encryption configurable.wolfbeast2018-11-04-2/+11
| | | | | | | This adds a pref "network.http.opportunistic-encryption" that controls whether we send an "Upgrade-Insecure-Requests : 1" header on document navigation or not. This patch modifies the platform network parts. Default for the platform is "true". Part 1 for #863
* Make HTTP/2 compressor more resilient to bad data.wolfbeast2018-11-01-3/+23
|
* Merge pull request #791 from g4jc/session_supercookieMoonchild2018-09-27-57/+194
|\ | | | | Issue #792 - backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
| * backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across ↵Gaming4JC2018-09-25-57/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | origins Potential attack: session supercookie. [Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5): "The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that. What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak." [Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8): "nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers). So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
* | backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp ↵Gaming4JC2018-09-26-14/+8
|/ | | | | | | | r=mayhemer The original code (from bug 1200802) declared an XPCOM object as a static bare pointer, which for future reference is probably never the right thing to do. It might have worked if it was cleared before shutdown but it never was.