gecko-dev/netwerk
Kershaw Chang d7d4941cf6 Bug 1662072 - Reduce one data copy in parent process when sending chunks to child process r=valentin
1. The data sent from `HttpBackgroundChannelParent` to `HttpBackgroundChannelChild` is using type `nsDependentCSubstring`, since I'd like to reduce one copy in parent process.
2. The data sent from `HttpTransactionChild` to `HttpTransactionParent` is using type `nsCString`. The main reason is that the data is actually captured in `HttpTransactionParent::RecvOnDataAvailable` [1] and put in channel event queue. If we use `nsDependentCSubstring` here, the data would be copied in parent process.
3.  In `HttpBackgroundChannelChild::RecvOnTransportAndData`, it's inevitable that the data is copied when assigning the data to a `nsCString`, since sometimes `HttpBackgroundChannelChild::RecvOnTransportAndData` needs to be queued and execute later.


[1] https://searchfox.org/mozilla-central/rev/969fc7fa6c3c7fc489f53b7b7f8c902028b5169f/netwerk/protocol/http/HttpTransactionParent.cpp#556

Differential Revision: https://phabricator.services.mozilla.com/D88781
2020-08-31 17:11:21 +00:00
..
base Bug 1660975 - Move some TRR prefs to StaticPrefList.yaml r=nhnt11 2020-08-31 12:49:59 +00:00
build Bug 1631722 - Add wrapper for structured-headers crate,r=valentin 2020-08-12 07:07:33 +00:00
cache Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
cache2 Bug 1662012 - Remove filesystem reporting from the cache, r=valentin,necko-reviewers 2020-08-31 15:16:07 +00:00
cookie Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
dns No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2020-08-31 14:18:05 +00:00
ipc Bug 1589102 - Part 3: Enable about:blank loads to take place via DocumentChannel, r=mattwoodrow 2020-08-28 17:20:40 +00:00
locales Bug 1654556 - Log also "failed the samesite tests" cookie rejection reason, r=baku 2020-07-23 14:48:12 +00:00
mime Bug 1440677 - accept spaces and tabs in Content-Disposition header filename parameters because all the other browsers do, r=annevk,valentin,necko-reviewers 2020-08-19 16:10:20 +00:00
protocol Bug 1662072 - Reduce one data copy in parent process when sending chunks to child process r=valentin 2020-08-31 17:11:21 +00:00
sctp Bug 1647536 - Support ref counted pointers in nsDeque r=froydnj 2020-08-22 15:47:59 +00:00
socket Bug 1659705 - Update neqo to version 0.4.10 r=necko-reviewers,valentin 2020-08-18 13:22:00 +00:00
srtp Bug 1653182 - Part 2: Remove redundant -std=gnu99 from netwerk/sctp and srtp. r=froydnj 2020-07-29 19:12:25 +00:00
streamconv Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
system Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
test Bug 1659699 - HTTPSSVC: Special handling of "." in TargetName r=necko-reviewers,kershaw 2020-08-28 09:22:12 +00:00
url-classifier Bug 1652927 - Refine URL Classifier logging r=baku 2020-07-20 10:09:37 +00:00
wifi
moz.build Bug 1623593 - Get rid of NECKO_COOKIES compilation flag, r=mayhemer 2020-03-24 16:30:03 +00:00