Commit Graph

763 Commits

Author SHA1 Message Date
Shih-Chiang Chien
c147e8fc9f Bug 1320744 - Part 3, implement nsIThreadRetargetableRequest in HttpChannelChild. r=mayhemer
MozReview-Commit-ID: FyLXlkQde3h
2017-03-20 17:29:07 +08:00
Thinker K.F. Li
813e00ba2a Bug 1323076 - Part 5: Necko with flag checking for TaskTracer. r=mayhemer 2017-03-22 21:53:00 +01:00
Andrea Marchesini
8f5f953fba Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
Henry Chang
0faf83a950 Bug 1325054 - Defer any possible connection establishment in BeginConnect until knowing if it's a tracker. r=dragana
MozReview-Commit-ID: 59MzYAVlr6i
2017-03-06 17:43:11 +08:00
Junior Hsu
f7901ad5a9 Bug 1347470 - clean mAvailableCachedAltDataType when we get 200, r=valentin 2017-03-15 15:07:21 +08:00
Carsten "Tomcat" Book
9fa0a93699 Merge mozilla-central to autoland 2017-03-13 15:26:50 +01:00
Valentin Gosu
c3bd7bfa12 Bug 1341343 - Make sure the channel returns the correct contentLength for alt-data without saving it to the metadata r=michal
MozReview-Commit-ID: 1pXspJwLfJa
* * *
[mq]: fixing.patch

MozReview-Commit-ID: KKS2x2aeHY3
2017-03-13 12:06:55 +01:00
Amy Chung
2370c5ef43 Bug 1312774 - Allow channels marked as urgentStart to bypass connection limits. r=mayhemer 2017-03-12 01:31:13 +08:00
Kershaw Chang
efd55bce36 Bug 1326339 - Store top level outer content window id in http transaction and connMgr. r=mayhemer 2017-03-09 02:55:00 -05:00
Wei-Cheng Pan
6e5f9205bd Bug 1310127 - Part 5: Use MOZ_MUST_USE in netwerk/protocol/http r=mayhemer
MozReview-Commit-ID: 9xtNZyavZtc
2017-01-12 17:49:03 +08:00
Wei-Cheng Pan
9f134bdbf1 Bug 1310127 - Part 3: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
Add assertions.

MozReview-Commit-ID: DPvgKzVr3ip
2017-01-12 17:48:45 +08:00
Wei-Cheng Pan
f9654c1dca Bug 1310127 - Part 2: Use MOZ_MUST_USE in netwerk/protocol/http r=Cykesiopka,mcmanus
Log failures or just ignore them, no control flow change.

MozReview-Commit-ID: D748DEjl3Fv
2016-12-27 19:05:13 +08:00
Tim Huang
98a583c4bd Bug 1337893 - Part 3: Updating Necko for DNS changes. r=valentin
MozReview-Commit-ID: AVEp3hP7XqB
2017-02-15 17:48:15 +08:00
Ursula Sarracini
36dac5da7b Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG
2017-02-22 13:18:09 -05:00
Patrick McManus
b282fad49d Bug 1340655 - remove h1 pipeline support r=mayhemer 2017-02-17 15:35:37 -05:00
Carsten "Tomcat" Book
dc21916166 merge mozilla-inbound to mozilla-central a=merge 2017-03-02 14:02:48 +01:00
Michael Layzell
702c3f58cf 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
0db5f85cf8 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
62881745c6 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.
2017-02-17 15:35:37 -05:00
Dragana Damjanovic
a524baa2fc Bug 1337826 - Do not use sticky connection if it is pipeline. r=mcmanus 2017-02-14 10:46:00 -05:00
Honza Bambas
59466437ed Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal 2017-02-22 09:10:00 -05:00
Patrick McManus
96870d11c7 Bug 1341128 - high level HTTP Channel Success Telemetry r=dragana r=bsmedberg 2017-02-20 17:15:36 -05:00
Wes Kocher
3c13601b3f 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
b72063c873 Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal 2017-02-21 11:30:00 -05:00
Jonathan Hao
585dbfd246 Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (Necko) r=ckerschb
MozReview-Commit-ID: 6DFPXTXoykc
2017-02-14 10:29:41 +08:00
Wes Kocher
64ccd9559b Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Honza Bambas
f35b32aebc Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus 2017-02-17 08:08:00 -05:00
Valentin Gosu
f5eee3bc5a Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp
2017-02-16 15:20:13 +01:00
Valentin Gosu
2d50d27f0b 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
2017-02-15 20:44:09 +01:00
Tom Tromey
e90d95a3f9 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L
2016-12-14 09:32:21 -07:00
Tom Tromey
a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Henry Chang
40c00b3543 Bug 1341506 - Part 1: Implement and use nsIURIClassifier.asyncClassifyLocalWithTables. r=Ehsan,francois
MozReview-Commit-ID: 8dvYM4o2Xxw
2017-03-01 11:27:51 +08:00
Jonathan Hao
3ecbdefee1 Bug 1334690 - Isolate AlternateService mappings by Origin Attributes. r=mcmanus
MozReview-Commit-ID: LWfmmMn25zT
2017-02-14 16:49:59 +08:00
Nicholas Hurley
5fd6b1db22 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
2017-01-10 06:39:18 -08:00
Junior Hsu
3d53cb477a Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal
MozReview-Commit-ID: L8IISZ1SFCh
2017-02-14 01:31:00 +08:00
Shih-Chiang Chien
1dc6ed1ca3 Bug 1334068 - proxy release main-thread-only references in nsHttpChannel and HttpBaseChannel. r=mayhemer
MozReview-Commit-ID: 9lojerCPhSb
2017-02-07 10:37:11 +08:00
Carsten "Tomcat" Book
af93a0ab46 Merge mozilla-central to mozilla-inbound 2017-02-10 14:27:13 +01:00
Shih-Chiang Chien
6efc132f81 Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm
2017-02-02 15:20:04 +08:00
Junior Hsu
eae771b5d6 Bug 482934 - force to revalidate for a custom conditional reqeust, r=michal, honzab 2016-11-21 18:42:08 +08:00
Boris Zbarsky
441f1fa5bc 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
3587201760 Bug 1325090 - Drop and merge HTTP_NET_VS_CACHE_* probes, r=michal 2017-01-17 23:26:00 +01:00
Junior Hsu
120d49f36b Bug 1331324 - Prevent network load time of custom conditional request from being reported. r=michal 2017-01-18 19:22:00 +08:00
Junior Hsu
99a14ffc58 Bug 1325325 - Do not record the timestamp for conditional requests. r=michal 2017-01-18 15:29:04 +08:00
Ryan VanderMeulen
7f1b5c1666 Backed out 2 changesets (bug 1261585) for causing website bustage.
Backed out changeset 3b5321a426ad (bug 1261585)
Backed out changeset f6d5e6243d01 (bug 1261585)
2017-01-17 23:29:11 -05:00
Dragana Damjanovic
c43d905ea1 Bug 1261585 - Make nsITraceableChannel listener work with content encoding. r=mayhemer 2017-01-17 08:27:00 -05:00
Wei-Cheng Pan
076b9bca8e Bug 1329911 - Fix incorrect releasing of POST data. r=mayhemer
This patch reverts bug 1264566 (part 3) and bug 1293765.

MozReview-Commit-ID: AsSxxAMGHvV
2017-01-13 17:33:36 +08:00
Cykesiopka
d59b8b6b39 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
2017-01-14 13:10:06 +08:00
Andrea Marchesini
46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Kate McKinley
13834446f5 Bug 1313595 - Lower HSTS priming timeout r=mayhemer
MozReview-Commit-ID: 5wOqtYM1MfD
2016-12-08 11:07:55 -10:00
Patrick McManus
4f309c3949 Bug 1328121 - hold ref on mlistener when calling onstartrequest r=smaug r=jduell 2017-01-03 16:15:23 -05:00