Commit Graph

537 Commits

Author SHA1 Message Date
Dragana Damjanovic
ca8af413eb Bug 1172885 - nsHttpChannel::BeginConnect must call AsyncAbort in the case of an error. r=valentin 2015-06-09 04:07:00 -04:00
Ehsan Akhgari
07755ae27d Bug 1164397 - Part 1: Use the original channel URI for constructing the cache entry key when we're dealing with an intercepted channel; r=mcmanus 2015-06-05 15:57:35 -04:00
Ryan VanderMeulen
2a6e9cc9b9 Backed out changeset e95a9e8e7650 (bug 1170795) for e10s test_fetch_event.html faliures. 2015-06-04 11:09:07 -04:00
Josh Matthews
e7a964b382 Bug 1170795 - Ignore redirect errors for synthesized cache entries. r=mayhemer 2015-06-04 10:06:33 -04:00
Honza Bambas
1dc83b6242 Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Valentin Gosu
234b8ab84f Bug 1036275 - Change nsHttpChannel to call into PackagedAppService for urls containing !// r=honzab 2015-06-03 01:46:02 +03:00
Dragana Damjanovic
5f3862258e Bug 1166133 - If proxy is available and an error happens, onStart/onStopRequest can be called twice. r=mcmanus 2015-05-19 11:28:00 -04:00
Michal Novotny
daecc003ef Bug 1163900 - crash in mozilla::net::nsHttpChannelCacheKey::GetData(unsigned int*, nsACString_internal&), r=jduell 2015-05-14 19:05:34 +02:00
Michal Novotny
6ebc2c926a Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell 2015-05-10 02:26:39 +02:00
Eric Rahm
1d6101df90 Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 12:52:45 -07:00
Eric Rahm
b676a83446 Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher
ce92b3fcd9 Backed out 2 changesets (bug 1162336) for breaking at least windows builds
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07:00
Patrick McManus
0d2c0e891e bug 1153212 - 2/2 Necko explicitly track origin vs routed host and give psm only origin r=dkeeler r=hurley IGNORE IDL
Allow necko to simultaneously track the dual concept of routed host
and origin (authenticated host). The origin is given to the socket
provider and the routed host is inserted at DNS lookup time as if it
were a SRV or CNAME.
2015-04-09 11:31:59 -04:00
Eric Rahm
86aef1067d Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 10:35:29 -07:00
Eric Rahm
bd957615ed Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Patrick McManus
0b0c4899cb bug 1157280 - dont getSockName from main thread r=hurley 2015-04-29 18:39:06 -04:00
Richard Barnes
9b4b3b10d6 Bug 1159945 - Add telemetry to measure HSTS usage 2015-04-29 16:16:16 -07:00
Ehsan Akhgari
effc0a89a4 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
51332ad494 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
Wes Kocher
f28614a4a9 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Denis Volk
1872a62df8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Tom Tromey
160d5348d9 Bug 1096908 - forward network security messages to the content process; r=hurley 2015-04-20 11:42:09 -07:00
Wes Kocher
4ebc2f9c4d Backed out changeset dbee7cf7e96f (bug 1096908) for bustage 2015-04-20 11:22:21 -07:00
Tom Tromey
e608f8857d Bug 1096908 - forward network security messages to the content process; r=hurley 2015-04-20 11:09:34 -07:00
Patrick McManus
13af726282 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
53f72a17ac 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
16ad90c2ee Bug 1153924 - do not use altsvc with proxy r=hurley 2015-04-13 12:33:10 -04:00
Ryan VanderMeulen
838f96487a 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
846155b38d Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj 2015-04-08 14:42:00 +02:00
Henry Chang
c70ec57ff4 Bug 1053650 - Part 2: Populate networkInterfaceId to SocketTransport. r=mcmanus 2015-04-07 11:45:57 -04:00
Dragana Damjanovic
ab9e2c69a4 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
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Honza Bambas
ea593e1ce3 Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Nikhil Marathe
2bc8435dab Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus 2015-03-17 08:48:32 -07:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Josh Matthews
b16ec8e114 Bug 1142124 - Never revalidate cache entries for synthesized responses. r=michal 2015-03-11 13:00:38 -04:00
Masatoshi Kimura
e02dab15e1 Bug 1106470 - Drop SSLv3 support from devtools. r=vporof 2015-03-10 01:23:00 +09:00
Valentin Gosu
668a79b267 Bug 1123920 - domainLookupEnd and requestStart out-of-order when using a persistent connection r=mcmanus 2015-02-25 20:23:56 +02:00
Valentin Gosu
7f8de9c12e Bug 1132572 - Fix data race for nsHttpTransaction's timing info r=mcmanus 2015-02-25 20:23:23 +02:00
Honza Bambas
b99f87fa7a Bug 1134735 - Don't use tee->InitAsync in nsHttpChannel::InstallCacheListener when using cache2, r=michal 2015-02-19 12:36:00 +01:00
Patrick McManus
2c65815978 bug 1133177 - network logging and cleanups (part 1) r=hurley 2015-02-19 12:21:03 -05:00
Honza Bambas
60a149c90e Bug 1092857 - Drop conditional request headers when there is no cache entry available. r=michal 2015-02-20 06:31:00 -05:00
Christoph Kerschbaumer
afd12b01d1 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman) 2015-02-17 10:09:31 -08:00
Patrick McManus
e907fb5165 bug 1132808 - HttpBaseChannel::GetPrincipal should return URI prinicipal r=ckerschb r=sicking 2015-02-13 15:54:04 -05:00
Honza Bambas
52288c12e4 Bug 1117763 - Remove range request headers on cache entry open failure. r=michal 2015-02-13 07:54:00 -05:00
Monica Chew
87e2cd9f32 Bug 1130893 - Use GetChannelURIPrincipal instead of GetChannelResultPrincipal in nsChannelClassifier, only call nsChannelClassifier if LOAD_CLASSIFY_URI is set. r=mcmanus r=ckerschb 2015-02-12 22:23:50 -08:00
Honza Bambas
52ac0aab51 Bug 881830 - Make CORS redirect handling ignore redirects due to an STS upgrade. r=bz 2015-02-10 08:00:00 -05:00
Patrick McManus
8a829824a9 bug 1130874 - update h2 alternate service extension to draft-06 r=hurley 2015-02-06 17:45:05 -05:00
Dragana Damjanovic
3f0e839463 Bug 1106396 - Fix nsHttpChannel::Suspend() in case of content is serve partially from cache and partially from network. r=honzab 2015-01-27 00:50:00 +01:00
Monica Chew
32f2349c1e Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp) 2015-01-21 11:33:07 -08:00