Commit graph

746 commits

Author SHA1 Message Date
Michael Layzell
dba2e68a7e Bug 1343302 - Explicitly pass the nsHttpChannel to mCacheOpenRunnable instead of using a closure, r=valentin
MozReview-Commit-ID: 2jPiUdI1DWN
2017-03-01 15:09:44 -05:00
Sebastian Hengst
71318f787d Backed out changeset 379093669b39 (bug 1340655) for warning as err.or at nsHttpConnection.cpp(875). r=backout on a CLOSED TREE 2017-03-01 20:20:57 +01:00
Patrick McManus
63212ea3a1 Bug 1340655 - remove h1 pipeline support r=mayhemer
HTTP/1.1 pipelines have been subsumed by the more effective mux of spdy, h2, and soon quic.

The feature was never able to overcome the limitations of HoL blocking
and TCP reset, and their impact on performance and reliability.

Fundamentally mux is the only way we should be approaching that problem.

The massive amount of code - mostly heuristics to try and deal with
the HoL problem (by classifying things onto different transactions,
timers for broken servers, etc..) has become a maintenance burden with
minimal value given the default off state of the feature.

h2 is the new (working) strategy.

--HG--
extra : rebase_source : 5794957c1f078ca435480724d3caf9bdd861b7de
2017-02-17 15:35:37 -05:00
Dragana Damjanovic
7fcc6ce47a Bug 1337826 - Do not use sticky connection if it is pipeline. r=mcmanus 2017-02-14 10:46:00 -05:00
Honza Bambas
3c1d8fd7b1 Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal
--HG--
extra : rebase_source : edb97c1bdfd700ed75c57d1af0018f63428036f0
2017-02-22 09:10:00 -05:00
Patrick McManus
72f7c60874 Bug 1341128 - high level HTTP Channel Success Telemetry r=dragana r=bsmedberg
--HG--
extra : rebase_source : 22e7e39821c8b1f704b11e27979a02041bce8be2
2017-02-20 17:15:36 -05:00
Wes Kocher
5e9e84d7ec Backed out changeset a93c0f43ccf8 (bug 1322355) for android build bustage a=backout
MozReview-Commit-ID: 5ecKiKuodUm
2017-02-21 12:37:27 -08:00
Honza Bambas
1feb471fe0 Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal
--HG--
extra : rebase_source : 23012382b21a1fd908d2cbb2a25b7a014f4149b7
2017-02-21 11:30:00 -05:00
Jonathan Hao
9a4de2ace4 Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (Necko) r=ckerschb
MozReview-Commit-ID: 6DFPXTXoykc

--HG--
extra : rebase_source : 4c69a918b289f76a75ac463f08a6e43f7b625571
2017-02-14 10:29:41 +08:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Honza Bambas
bb033696f7 Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
--HG--
extra : rebase_source : 192a4705e4e91bc393a283743a1ad8880da6aeba
2017-02-17 08:08:00 -05:00
Valentin Gosu
6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Valentin Gosu
bc75a46d4a Bug 1325081 - Add interface to delay the cache fetch in order to test network-cache racing of HTTP requests r=michal
MozReview-Commit-ID: 96fSzPw8FHi
* * *
[mq]: over1

MozReview-Commit-ID: 80RePXK1TbR

--HG--
extra : rebase_source : a89470efe71442fb6af36e74ac582e232557f81d
2017-02-15 20:44:09 +01:00
Tom Tromey
d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey
5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Jonathan Hao
4bad12b164 Bug 1334690 - Isolate AlternateService mappings by Origin Attributes. r=mcmanus
MozReview-Commit-ID: LWfmmMn25zT

--HG--
extra : rebase_source : a1011393171cab727ae80652b49f928dad50291f
2017-02-14 16:49:59 +08:00
Nicholas Hurley
31b98bda83 Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).

While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.

MozReview-Commit-ID: HEZsxS04rRK

--HG--
extra : rebase_source : 03cce85fe7df782e1f6e2da9e5a99997b796aba2
2017-01-10 06:39:18 -08:00
Junior Hsu
138b96c6ca Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal
MozReview-Commit-ID: L8IISZ1SFCh

--HG--
extra : rebase_source : 67d8c08288023279f431ebaebdddedbca2fa071b
2017-02-14 01:31:00 +08:00
Shih-Chiang Chien
54bcd3b5da Bug 1334068 - proxy release main-thread-only references in nsHttpChannel and HttpBaseChannel. r=mayhemer
MozReview-Commit-ID: 9lojerCPhSb

--HG--
extra : rebase_source : fe493862b74c9fc2be5358e70ef03deae318ad8d
2017-02-07 10:37:11 +08:00
Carsten "Tomcat" Book
cc005af04c Merge mozilla-central to mozilla-inbound 2017-02-10 14:27:13 +01:00
Shih-Chiang Chien
4d6af6c71e Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm

--HG--
extra : rebase_source : da54f269b4b186ad784b2351f39829922f08db89
2017-02-02 15:20:04 +08:00
Junior Hsu
97192dfa88 Bug 482934 - force to revalidate for a custom conditional reqeust, r=michal, honzab 2016-11-21 18:42:08 +08:00
Boris Zbarsky
b7cf5b83fd Bug 1333106. Stop leaking in the prefetch service if the prefetch is blocked by security checks. r=mcmanus 2017-01-24 10:02:46 -05:00
Junior Hsu
ff67677662 Bug 1325090 - Drop and merge HTTP_NET_VS_CACHE_* probes, r=michal
--HG--
extra : rebase_source : bfa0e2e15743bef3034331ea84214e43a32ab8b6
2017-01-17 23:26:00 +01:00
Junior Hsu
eb9554ad2c Bug 1331324 - Prevent network load time of custom conditional request from being reported. r=michal
--HG--
extra : rebase_source : 95d3c169bfb7a514383312baeb4280b014e77be4
2017-01-18 19:22:00 +08:00
Junior Hsu
3d98a6ede6 Bug 1325325 - Do not record the timestamp for conditional requests. r=michal
--HG--
extra : rebase_source : afeb4722367f59cedd31508bb1cc4ccae0a95c3d
2017-01-18 15:29:04 +08:00
Ryan VanderMeulen
fcbf4425b0 Backed out 2 changesets (bug 1261585) for causing website bustage.
Backed out changeset 3b5321a426ad (bug 1261585)
Backed out changeset f6d5e6243d01 (bug 1261585)

--HG--
extra : rebase_source : 9e87123f7688db13d341e713d4781cbc3e419960
2017-01-17 23:29:11 -05:00
Dragana Damjanovic
678e2b1447 Bug 1261585 - Make nsITraceableChannel listener work with content encoding. r=mayhemer 2017-01-17 08:27:00 -05:00
Wei-Cheng Pan
8733c6bd51 Bug 1329911 - Fix incorrect releasing of POST data. r=mayhemer
This patch reverts bug 1264566 (part 3) and bug 1293765.

MozReview-Commit-ID: AsSxxAMGHvV

--HG--
extra : rebase_source : 524ed287c78f25ea95aa72a3c0be478f437755a2
2017-01-13 17:33:36 +08:00
Cykesiopka
5111ba6981 Bug 1329237 - Avoid non-smart string IDL types in nsISiteSecurityService.idl. r=keeler
Smart string IDL types give us nsA[C]String in C++ code, which is safer than
raw char strings.

MozReview-Commit-ID: KJ3Z4qK9i61

--HG--
extra : rebase_source : a24101d876d1120bd3b6c757fc48a2b76a8b489f
2017-01-14 13:10:06 +08:00
Andrea Marchesini
359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Kate McKinley
edae411c07 Bug 1313595 - Lower HSTS priming timeout r=mayhemer
MozReview-Commit-ID: 5wOqtYM1MfD

--HG--
extra : rebase_source : 78cb81a9223c80b93b2c574846111eb3bad91c03
2016-12-08 11:07:55 -10:00
Patrick McManus
831d51ec20 Bug 1328121 - hold ref on mlistener when calling onstartrequest r=smaug r=jduell 2017-01-03 16:15:23 -05:00
Iris Hsiao
4615a8f12c Backed out changeset 5593f1b533da (bug 1328121) for bustage 2017-01-05 11:33:51 -05:00
Patrick McManus
3be474ef20 Bug 1328121 - hold ref on mlistener when calling onstartrequest r=smaug r=jduell 2017-01-03 16:15:23 -05:00
Ehsan Akhgari
ad51310cc1 Bug 1170190 - Part 3: Add tests for the e10s case too; r=mayhemer 2016-12-23 14:40:11 -05:00
Patrick McManus
d40f84f05b Bug 1324872 - quic change from alt-protocol to alt-svc r=hurley 2016-12-20 15:38:45 -05:00
Ehsan Akhgari
bdcd3058d9 Bug 1324053 - Ensure that speculative connect and DNS prefetching aren't disabled when annotating tracking channels; r=mayhemer 2016-12-19 10:52:55 -05:00
Kris Maglione
b9cfaed91f Bug 1321528: Part 1 - Support suspending requests when processing response headers. r=honzab
MozReview-Commit-ID: 8ZtbvqLDksO

--HG--
extra : rebase_source : 8b3ac15e3983e0c3d520a631862430b6d1b23ca1
2016-12-16 13:45:40 -08:00
Honza Bambas
706f18a2c8 Bug 1318759 - Properly query final class in HttpChannelParent::OnStartRequest to prevent evil static_cast, r=jduell 2016-12-09 05:52:00 +01:00
Thinker K.F. Li
db61896b15 Bug 1319669 - Handle TaskTracer at STS thread and Cache thread. r=honzab 2016-12-09 14:09:00 -05:00
Patrick McManus
eefe030798 Bug 1321783 - Make updater be networking conservative r=dkeeler r=rstrong r=dragana 2016-12-02 16:49:23 -05:00
Kershaw Chang
e72553b49d Bug 1141814 - Part 2: Lower the priority of channel loading tracking resource. r=honzab 2016-11-30 23:13:00 -05:00
Kirk Steuber
0ddd366738 Bug 1319571 - Change the output format of nsUrlClassifierDBService::ClassifyLocalWithTables from comma separated string to an array of strings r=francois
MozReview-Commit-ID: TXln2EQnZS

--HG--
extra : rebase_source : 520527fabc9d92dc7dc1ec670e79861d03449ca2
2016-11-29 13:04:43 -08:00
Carsten "Tomcat" Book
450508f7f3 merge mozilla-inbound to mozilla-central a=merge 2016-11-29 11:39:49 +01:00
Carsten "Tomcat" Book
002a446aec Backed out changeset 3472d9d9dd47 (bug 1313595) for hopefully reducing crashes 2016-11-29 10:25:07 +01:00
Honza Bambas
4d5a7285da Bug 1309438 - Don't reuse sticky connection after authentication failure. r=jduell 2016-11-25 03:33:00 -05:00
Honza Bambas
128c9a268f Bug 1300642 - Set default UA request header before on-opening-request notification to allow its override. r=mcmanus
--HG--
extra : rebase_source : 08abf393ef62a54e3ed08853dc0ceb8b4be112c1
2016-11-16 08:57:00 -05:00
Kate McKinley
5565f4d518 Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer
Default is 3 seconds

MozReview-Commit-ID: 47hoaTEL9hV
2016-11-08 17:49:39 +09:00
Phil Ringnalda
8562d3859b Backed out changeset a8be4ebc85cf (bug 1313595) for permaorange unexpected assertion in test_referrerdirective.html, a=backout
MozReview-Commit-ID: GxBqDrHHg7z
2016-11-14 18:30:58 -08:00