Patrick McManus
3f36d05a87
bug 1161253 close pconns on background notification r=bagder
2015-05-05 10:10:21 -04:00
Patrick McManus
fd495e095e
Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder
2015-05-05 10:04:34 -04:00
Ehsan Akhgari
cfdf005ad6
Bug 1134325 - Part 1: Add an API for cloning a channel's upload stream; r=mcmanus
2015-05-05 13:20:53 -04:00
theoneisneo
64bf8520c3
Bug 1149872 - Add the missing format specifiers. r=jduell
2015-04-02 01:56:00 -04:00
Mike Hommey
b848e4bfcf
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
e8d6ee36fa
Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
...
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.
2015-04-29 16:38:29 -07:00
Patrick McManus
9f64338177
bug 1157280 - dont getSockName from main thread r=hurley
2015-04-29 18:39:06 -04:00
Richard Barnes
4c84f57e4a
Bug 1159945 - Add telemetry to measure HSTS usage
2015-04-29 16:16:16 -07:00
Patrick McManus
1aafd5f692
bug 1142384 - eventtokenbucket thread management r=hurley
2015-04-28 00:12:29 -04:00
David Major
ed6ca74f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
2015-04-27 19:59:27 -04:00
Ryan VanderMeulen
7bc7b60b19
Merge m-c to inbound. a=merge
2015-04-27 15:20:16 -04:00
Jonathan Hao
1a42a6aa39
Bug 1151760 - Separate timeout timer with end of stream. r=ettseng
2015-04-24 15:25:09 +08:00
Ehsan Akhgari
2417a941fd
Bug 1158544 - Remove FTPChannelChild::mWasOpened and make the base class mWasOpened protected; r=mcmanus
...
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:34 -04:00
Ehsan Akhgari
cc4bc6024d
Bug 1158543 - Remove SpdyConnectTransaction::mRequestHead and make the base class mRequestHead protected; r=mcmanus
...
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:28 -04:00
Ehsan Akhgari
2e0d35e090
Bug 1156771 - Part 2: Assert that the cache entry for the intercepted doesn't exist in the cache storage before we try to open it for the first time; r=michal
2015-04-27 13:04:17 -04:00
Ehsan Akhgari
c5d57b8e67
Bug 1156771 - Part 1: Ensure that each channel uses a unique ID to compute its cache entry extension; r=michal
...
This makes sure that concurrent synthesized HTTP channels for the same
URL do not try to use the same cache entry accidentally. We have so far
observed this issue as an intermittent test failure (see bug 1136780),
and it's hard to test this standalone, so enabling that test will serve
as an automated test for this patch as well.
2015-04-27 13:04:07 -04:00
Andrea Marchesini
eff949a801
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Wes Kocher
6fdfd8574e
Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE
2015-04-21 14:23:56 -07:00
Ehsan Akhgari
e1d91cf3c6
Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
...
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before. This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Nicholas Hurley
a9b331215f
Bug 1130822 - properly decode arbitrarily aligned data for non-tier1 platforms. r=mcmanus
...
Modified from original patch by Martin Husemann <martin@NetBSD.ORG>
2015-04-21 11:26:11 -07:00
Patrick McManus
2128024376
bug 1153212 - Alt-Svc Fixes r=dkeeler r=hurley
2015-04-13 17:11:59 -04:00
Wes Kocher
f180216650
Merge m-c to fx-team a=merge CLOSED TREE
2015-04-20 17:19:07 -07:00
Denis Volk
cd6346cce0
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Tom Tromey
1a1dbab640
Bug 1096908 - forward network security messages to the content process; r=hurley
2015-04-20 11:42:09 -07:00
Wes Kocher
7ac70178c3
Backed out changeset dbee7cf7e96f (bug 1096908) for bustage
2015-04-20 11:22:21 -07:00
Tom Tromey
b2f4baac33
Bug 1096908 - forward network security messages to the content process; r=hurley
2015-04-20 11:09:34 -07:00
Josh Matthews
6a2c598fe7
Bug 1137287 - Build fix. rs=KWierso for a CLOSED TREE
2015-04-17 19:27:05 -04:00
Josh Matthews
fe3b91c0cd
Bug 1137287 - Part 2: Send non-200/404 synthesized responses via the parent HTTP implementation for proper processing. r=mayhemer
2015-04-17 18:59:10 -04:00
Josh Matthews
feda39dd0f
Bug 1137287 - Part 1: Shift some code from InterceptedChannelContent to HttpChannelChild. r=mayhemer
2015-04-17 18:59:10 -04:00
Nathan Froyd
fba75178ed
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Gijs Kruitbosch
8a7ed8a37e
Bug 1150703, allow about: pages to be unlinkable even if "safe for content", r=mcmanus, IGNORE IDL
2015-04-03 09:59:00 +01:00
Patrick McManus
cb5c627737
Bug 1154068 - rename relaxed to insecure scheme and add more runtime checks r=hurley
...
we used the term relaxed for http:// over tls; but someitmes we also
enforced the authentication if alt-svc changed the host involved. That
was all done correctly but the term relaxed wasn't very accurate in
those cases.
For clarity rename "relaxed" to be "insecureScheme". Also add a
runtime check (with debug assert) to paths to enforce that bit isn't
set where it shouldn't be (it isn't known to be).
2015-04-06 17:30:29 -04:00
Patrick McManus
8229a666f3
Bug 1154061 - clear cached alt svc mappings on a variety of state changes r=hurley
...
an alt-svc map is just an optimization which can get out of phase like
any other piece of state.. therefore it makes sense to
drop them when a user presses some kind of "serenity now" button such
as force-reload, clear cache, etc..
2015-04-10 16:13:30 -04:00
Patrick McManus
2ef0ab6fab
Bug 1153936 - nsIHttpChannelInteral attribute to opt out of alt-svc on per channel basis r=hurley
2015-04-13 12:59:34 -04:00
Patrick McManus
1008b389ec
Bug 1153924 - do not use altsvc with proxy r=hurley
2015-04-13 12:33:10 -04:00
Patrick McManus
4cde8b5219
Bug 1153896 - dont setup altsvc for same host/port as origin r=hurley
2015-04-09 23:38:26 -04:00
Patrick McManus
2dd72c2827
Bug 1153869 - altsvc assert scheme is http or https r=hurley
2015-04-13 10:20:26 -04:00
Nathan Froyd
68d9d5628d
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Patrick McManus
9af5631297
Bug 1152897 - update Alt-Svc pref name and default r=hurley
2015-04-06 15:28:21 -04:00
Ryan VanderMeulen
f047809d1d
Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
...
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley
119d9db9b4
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
2015-04-08 14:42:00 +02:00
Ehsan Akhgari
f1e9589b54
Bug 1053650 follow-up: Mark GetNetworkInterfaceId/SetNetworkInterfaceId as override
2015-04-08 10:27:41 -04:00
Henry Chang
6b51232ce6
Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus
2015-01-28 11:21:37 +08:00
Henry Chang
7e98a1f2e2
Bug 1053650 - Part 2: Populate networkInterfaceId to SocketTransport. r=mcmanus
2015-04-07 11:45:57 -04:00
Dragana Damjanovic
cbfa7e7c3c
Bug 1136969 - Add a check that OnStartRequest is called just once during the lifetime of a channel. r=mcmanus
2015-04-02 06:12:00 -04:00
Ehsan Akhgari
fc1a010b2a
Bug 1148854 - Part 2: Resume the intercepted network reuest if the interception fails for some reason; r=jdm
2015-04-02 17:58:22 -04:00
Nathan Froyd
4181765caf
Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
2015-03-12 13:20:29 -04:00
Dragana Damjanovic
67c95f19ed
Bug 647010 - Limit when HTTP authentication dialog is shown. Block cross-origin http auth prompts with pref. r=mayhemer, r=tanvi
2015-04-01 06:56:00 -04:00
Mike Hommey
ee117642af
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Patrick McManus
e202939ddd
bug 1148237 restart verifier null pattern r=honzab
2015-03-30 15:56:49 -04:00