Commit Graph

122 Commits

Author SHA1 Message Date
Dragana Damjanovic
a0ac977cc4 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Boris Zbarsky
8ef5dea224 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
5764463b03 Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
16d6c5ece7 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Wes Kocher
d28ae56124 Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
2eb8ef28e8 Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Dragana Damjanovic
b321bea26e Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Valentin Gosu
5e19b04442 Bug 1006575 - Redirected iframe inserts 2 entries into resource timing buffer 2014-06-05 22:24:47 +03:00
Patrick McManus
7888e433ba bug 1003566 - part 1 - allowSTS attribute to nsIHttpChannel r=honzab 2014-06-04 09:57:15 -07:00
Bob Owen
50568da10c 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
2bf049ae15 Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Birunthan Mohanathas
1ebdb921a5 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
eeb9aaaa94 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
59e027d2fc 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
53c9888d1b Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Patrick McManus
54d57b278b bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Girish Sharma
0b17a3c658 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
f89e9e3904 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
9871740678 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Ryan VanderMeulen
ce5f1fd328 Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Steve Workman
7d1e4f72c2 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Honza Bambas
f087c2e10e Bug 932046 - crash in mozilla::net::HttpChannelChild::OnRedirectVerifyCallback(unsigned int), r=jduell 2013-12-05 13:09:11 +01:00
Dan Auerbach
595ced3038 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
deb5a6a21b Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Patrick McManus
dfdc63bf95 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Ivan Alagenchev
4583ed67ba Bug 846918: add hsts message queue to httpchannel. r=bsmith. 2013-07-26 08:37:03 -07:00
Steve Workman
650993445f Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Jason Duell
1c8005d335 Bug 558623 - Split out HTTP LOG macro definition from nsHttp.h r=jdm 2013-06-22 09:01:06 -07:00
Patrick McManus
8b9ed05d20 bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell 2013-05-16 09:30:42 -04:00
Patrick McManus
6343782b40 bug 871289 [1 of 2] standardize netwerk/protocol/http on moz_assert r=jduell 2013-05-16 09:30:41 -04:00
Patrick McManus
e7c49e8df5 bug 869100 complete token bucket a/b test r=honzab 2013-05-08 11:43:31 -04:00
Patrick McManus
dd4f9aa02c bug 819734 - Token Bucket for Network Requests [a/b test] r=honzab 2013-04-15 09:41:27 -04:00
Mike Perry
191357b41d Bug 765934 - Expose XPCOM API for performing internal redirects. r=honza 2013-01-11 15:46:00 -08:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Josh Aas
2f597db3d9 Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-23 16:08:43 -05:00
Ed Morley
1f499780a1 Backout 744b40b75241 (bug 807678) on suspicion of causing Win debug xpcshell timeouts on a CLOSED TREE 2012-12-14 13:00:19 +00:00
Josh Aas
02c31fd8cc Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-13 09:18:33 -05:00
Patrick McManus
e02ad04f62 bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Jason Duell
fb1b4f5599 Bug 811669 - nsICachingChannel.cacheKey may not be set on http-on-modify-request anymore. r=mcmanus 2012-12-03 22:24:36 -08:00
Patrick McManus
5cba01713f bug 816685 expand caps in protocol/http to 32bits r=jduell 2012-11-29 20:34:35 -05:00
Nick Hurley
5496cfa986 Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Ehsan Akhgari
f1060d6480 Bug 800952 - Make sure that the privacy override information on a channel is correctly transferred to a channel when we setup a replacement channel for it; f=jdm r=jduell
This is required when a channel with an overridden privacy status (such as
a favicon HTTP load channel) gets redirected, for example.
2012-10-12 14:59:39 -04:00
Tom Schuster
d324ddc0cc Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Patrick McManus
2806e7bc35 bug 795305 - http channel can drop callback references sooner on asyncopen failures r=jduell 2012-10-02 20:18:34 -04:00
Isaac Aggrey
df5a7d83f1 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Patrick McManus
6331337694 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ehsan Akhgari
64eaa19d3a Bug 788275 - Part 1: Only check whether the PB state bit overridden condition holds for the cases where we actually have a load context around; r=jduell 2012-09-26 10:36:38 -04:00
Julian Reschke
72855616be Bug 782235 - Move HTTP convenience functions to nsHttp. r=bsmith 2012-09-25 11:04:25 -04:00
Makoto Kato
4f6ba8e8b0 Bug 790617 - Part 2 - don't use atoi to parse header. r=cbiesinger 2012-09-19 17:44:54 +09:00