Commit graph

141 commits

Author SHA1 Message Date
Monica Chew
3023f46c51 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus) 2015-01-09 13:25:13 -08:00
Alex Verstak
4149a976d9 Bug 1113438 - Update SetReferrerWithPolicy to (a) send referrer when https->http and policy is ORIGIN_WHEN_XORIGIN and (b) use the triggering principal for this cross-origin check. r=sstamm,mcmanus 2015-01-08 01:46:00 +01:00
Ehsan Akhgari
52593ee3bd Bug 1117042 follow-up: Fix a build bustage 2015-01-02 09:28:37 -05:00
Patrick McManus
7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Nicholas Nethercote
d159649494 Bug 1098703 - Zero HttpBaseChannel::{mSelfAddr,mPeerAddr} on construction to avoid Valgrind complaints in e10s builds. r=michal.
--HG--
extra : rebase_source : b95ade0b14397103711f74a53e75c514df2e1e1b
2014-11-13 19:27:31 -08:00
Owen Chu
50259ae67d Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Monica Chew
43fa6ed7e2 Bug 1088183: Propagate the top window URI to the parent http channel through HttpChannelOpenArgs (a=kwierso,r=jduell,mrbkap) 2014-10-29 17:22:22 -07:00
Blake Kaplan
afa69fda4d Bug 1049299 - Correctly calculate 3rd-party cookie status for content-process HTTP channels. r=jduell 2014-10-28 14:23:00 +01:00
Steve Workman
49393025ca Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=mayhemer 2014-10-21 16:40:08 -07:00
Josh Matthews
162208d7d0 Bug 898524 - Part 1: Permit certain HTTP channels to be intercepted before initiating a network connection. r=mayhemer 2014-07-09 16:35:02 -04:00
Valentin Gosu
80fd26828f Bug 1064706 - Move nsHttpChannel::GetPerformance to HttpBaseChannel so it can be used in HttpChannelChild r=honzab 2014-10-06 14:33:13 +03:00
Christoph Kerschbaumer
0d523437b3 Bug 1073282 - Proxy release of mLoadInfo in cannel dtors (r=jduell) 2014-09-29 08:48:11 -07:00
Dragana Damjanovic
3d407d6aac Bug 1067346 - Fix "apply conversion" when channel is diverted to parent. r=jduell 2014-09-16 06:30:00 -04:00
Valentin Gosu
96eb6b1308 Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab 2014-05-15 08:26:07 +03:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Dragana Damjanovic
7da0afd3c8 Bug 1043256 - If unKnownDecoder needs to be used, Content_Encodings will be loaded before OnStartRequest is called on the listener. This makes an error in e10s because Content_Encodings will be loaded before HttpChannelParent can disable them. r=bagder 2014-08-13 10:52:00 -04:00
Patrick McManus
7b3d6bf83d Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Ben Kelly
0d01c09be4 Bug 1029620 P4 Make HTTP token and header value validation accessible via nsNetUtil.h r=ehsan r=mcmanus 2014-07-24 12:38:55 -04:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Dragana Damjanovic
2cd40ad8a5 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Boris Zbarsky
67a99f4507 Bug 965413 part 13. Stop propagating null principal owners across redirects in nsHttpChannel, since we now handle that via loadInfo. r=smaug 2014-07-10 02:56:38 -04:00
Boris Zbarsky
744cc503d7 Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
2d81966ba3 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Wes Kocher
b4cf7d16de Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
ce5c9f601f Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Dragana Damjanovic
9c72743446 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Valentin Gosu
f26166e672 Bug 1006575 - Redirected iframe inserts 2 entries into resource timing buffer 2014-06-05 22:24:47 +03:00
Patrick McManus
b17f6374d4 bug 1003566 - part 1 - allowSTS attribute to nsIHttpChannel r=honzab 2014-06-04 09:57:15 -07:00
Bob Owen
742337c540 Bug 985135 - When owner is a null principal, propagate to replacement channel on redirect. r=bz 2014-05-28 15:04:04 +01:00
Monica Chew
6fe994703a Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Valentin Gosu
bd28245b1f Bug 822480 - Fix e10s bits of Resource Timing implementation. r=bz, r=honzab
* Move nsITimedChannel to HttpBaseChannel which is inherited by HttpChannelChild
* Return mZeroTime instead of 0 in nsPerformanceTiming
* Pass redirect count from parent to child channel
2014-04-21 09:34:33 -04:00
Adrian Lungu
864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Patrick McManus
ae599f9845 bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Girish Sharma
1511ede395 Bug 970246 - Create an http-on-response-set-cookie notification to tell when cookies are created via SET-COOKIE response header. r=honzab 2014-02-27 00:14:42 +05:30
Scott West
195da932bf Bug 401564 - Test and fix for redirection losing Accept header. r=mcmanus
The test has a redirect where the initial GET request had Accept:
application/json, and ensures that this is also the type of the
redirected request.

The fix is done in the setup of the replicated HttpBaseChannel, where
the previous channel's Accept header is copied to the new one, if it
exists.
2014-02-26 09:03:14 -05:00
Steve Workman
5664e66826 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Ryan VanderMeulen
001213198b Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Steve Workman
421e5d0ba0 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Honza Bambas
3682922bab Bug 932046 - crash in mozilla::net::HttpChannelChild::OnRedirectVerifyCallback(unsigned int), r=jduell 2013-12-05 13:09:11 +01:00
Dan Auerbach
bfe22175cc Bug 822869 - Expand user options and limit default behavior for sending of HTTP referers. r=jduell 2013-11-15 21:46:37 -05:00
Ehsan Akhgari
9a3bd8e476 Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Patrick McManus
0bde7d8d87 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Ivan Alagenchev
7931f44b23 Bug 846918: add hsts message queue to httpchannel. r=bsmith. 2013-07-26 08:37:03 -07:00
Steve Workman
39eb54cc4f Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Jason Duell
4fcb95e20e Bug 558623 - Split out HTTP LOG macro definition from nsHttp.h r=jdm
--HG--
rename : netwerk/protocol/http/nsHttp.h => netwerk/protocol/http/HttpLog.h
extra : rebase_source : 3295c6472c846b24d3012343cf06798abf8774f9
2013-06-22 09:01:06 -07:00
Patrick McManus
2e232b4bd1 bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell 2013-05-16 09:30:42 -04:00
Patrick McManus
68239ec0ca bug 871289 [1 of 2] standardize netwerk/protocol/http on moz_assert r=jduell 2013-05-16 09:30:41 -04:00