Commit Graph

2665 Commits

Author SHA1 Message Date
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ehsan Akhgari
1c61041b8e Merge the last green PGO changeset of mozilla-inbound to mozilla-central 2012-06-04 11:31:44 -04:00
Honza Bambas
22565351ec Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Ed Morley
c8248fce4b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Brian Smith
037d25081c Bug 722034 - Part 8 - Work around bug 759805, r=michal 2012-05-31 22:12:01 -07:00
Jason Duell
37f9287122 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Brian Smith
27d2a916b4 Bug 722034 - Part 6 - Stop accessing cache descriptor on main thread for telemetry purposes, r=hurley 2012-05-31 15:20:06 -07:00
Brian Smith
36cac4a176 Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
fd92294e79 Bug 722034 - Part 4 - Make a copy of the information needed during cache validation in preparation for moving cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
2a5829fe5e Bug 722034 - Part 3 - Convert HttpBaseChannel::mRedirectedCachekeys to nsAutoPtr<nsTArray<nsCString> >, r=biesi 2012-05-31 15:20:05 -07:00
Patrick McManus
50c2474b73 bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab 2012-06-03 21:13:12 -04:00
Geoff Brown
ef64098bfc Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell 2012-05-30 22:59:33 -04:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Patrick McManus
1c016167c2 bug 737470 new spdy v3 files had old mpl header r=trivial 2012-05-30 12:23:05 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Honza Bambas
e0e3ee34de Bug 758852 - crash @ nsHttpConnectionMgr::nsHalfOpenSocket functions in Private Browsing, r=mcmanus 2012-05-29 16:51:21 +02:00
julian.reschke@gmx.de
21e88e9b1d Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell 2012-05-28 16:14:04 -04:00
Magnus Melin
bf65b90123 Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
Brian Smith
c0309d87b7 Bug 722034 - Part 2 - Factor out nsHttpChannel::Hash into a standalone function, r=biesi 2012-04-05 01:57:30 -07:00
Michal Novotny
f7170ae8c4 Bug 722034 - Part 1 - Make AsyncOpenCacheEntry call the listener for non-blocking async requests from background threads, r=hurley 2012-05-31 15:20:04 -07:00
Brian Smith
b5e18b6c5a Bug 746018 - Part 6 - Start buffering cache entries in memory before we validate them, r=honzab 2012-05-31 15:20:04 -07:00
Brian Smith
c0859915db Bug 746018 - Part 5 - Simplify ShouldUpdateOfflineCacheEntry, r=honzab 2012-05-31 15:20:03 -07:00
Brian Smith
18e40e79f0 Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Brian Smith
7a2c44f12b Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell 2012-05-31 15:20:02 -07:00
Brian Smith
f34505b799 Bug 746018 - Part 2 - Split nsHttpChannel::Connect() into two pieces--one that executes before checking the cache, one that executes after, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
f5158556a3 Bug 746018 - Part 1 - Prevent changing channel state after AsyncOpen in more places, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
a2fb1ba1e0 Bug 759019 - Make nsHttpResponseHead and nsHttpRequestHead copy-constructable, assignable, and const-correct, r=biesi 2012-04-05 01:21:02 -07:00
Patrick McManus
514d66787e bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
8de00a032e bug 737470 patch 3 implement spdy v3 (pref off) r=honzab 2012-05-25 17:43:10 -04:00
Patrick McManus
c02e9fa5c8 bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession2.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession2.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream2.cpp => netwerk/protocol/http/SpdyStream3.cpp
rename : netwerk/protocol/http/SpdyStream2.h => netwerk/protocol/http/SpdyStream3.h
2012-05-25 17:37:08 -04:00
Patrick McManus
5ce388e01a bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Patrick McManus
f24ffb5b74 bug 758725 spdy act on fin on synreply r=honzab 2012-05-25 17:18:41 -04:00
Josh Matthews
9906e7aafc Bug 722845 - Part 4: Add PB information to wyciwyg channels. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
7bd0db46c8 Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny 2012-05-24 16:31:54 +01:00
Josh Matthews
3e60a1dc11 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
bd9442aa8b Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Josh Matthews
8e750c8313 Bug 722845 - Part 0: Add private flag for cache entries/sessions/requests. r=michal.novotny 2012-05-24 16:31:53 +01:00
Ed Morley
462ae26b9e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-23 10:41:25 +01:00
Jan Varga
ca9e63a66d Bug 757511 - Make it possible to raise the maximum number of threads. r=biesi 2012-05-23 06:24:18 +02:00
Jan Varga
40a6873fa4 Bug 757507 - Implement read-write file streams. r=biesi 2012-05-23 06:23:11 +02:00
Ryan VanderMeulen
ce97d6c8d7 Merge m-c to inbound. 2012-05-21 20:37:54 -04:00
Patrick McManus
8d1684d524 bug 756551 part 2 verify state of spdy mNeedsCleanup stream r=honzab 2012-05-21 17:09:34 -04:00
Patrick McManus
1a735bdd25 bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Landden
a5fd3639d5 Bug 747257 - Part 2: Add media type mapping for .mp4. r=rillian
Associate .mp4 files with the "video/mp4" mime type so that we can open them
directly via file://
2012-05-17 17:20:15 -07:00
Honza Bambas
dbe9071082 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
julian.reschke@gmx.de
a492595d68 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Oleg Romashin
5afbe4e354 Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jason Duell
402969df1e Bug 753105 - Change Websocket "internal error" code to 2011. r=mcmanus 2012-05-17 10:59:26 -07:00
Jason Duell
87a4ee092b Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
5d463dbebd Bug 755316 nullhttptransaciton based spdystream does not finish r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
e0b866bdf6 bug 755174 spdysession::readsegments may not set reader without transaction r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
477a166522 Bug 755167 - spdysession::mConnection should not be nsHttpPipeline r=honzab 2012-05-16 09:05:34 -04:00
Ryan VanderMeulen
ec16c493b6 Merge m-c to inbound 2012-05-15 19:24:50 -04:00
Patrick McManus
d3f7655e92 Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Mike Hommey
c20538e54d Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Brian R. Bondy
8fbf0e8d36 Bug 754894 - Catalog sheet code is broken at least in unpackaged build. r=bz 2012-05-15 12:15:05 -04:00
Honza Bambas
c855ee58f6 Bug 621446 - Crash [@ mozilla::net::HttpChannelParent::RecvRedirect2Verify ], r=jduell 2012-05-15 16:44:25 +02:00
Alexandre Poirot
b4a491a91f Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
557af2f0e7 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
f2ad750bab Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Mook
adc74e86ad Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi 2009-03-25 15:08:18 -07:00
Jason Duell
0e63b42516 Bug 737164 - Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-14 14:35:49 -07:00
Gavin Sharp
b9ece23533 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Patrick McManus
8864f747f9 bug 726366 part 2 - fix tunnel spdy over http proxy initial settings race r=honzab 2012-05-14 14:49:18 -04:00
Patrick McManus
7d2bdf959b bug 752648 - fix regression with restarting due to tls intolerance r=honzab
--HG--
extra : rebase_source : 8155ae4c221df4c5931816fb8773123cc37dd148
2012-05-14 13:25:28 -04:00
Honza Bambas
6bf7094aa6 Bug 748240 - view-source: doesn't load HTML from AppCache, r=bz 2012-05-12 11:42:20 +02:00
Jason Duell
65907c48a6 Backed out changeset a88c34de5d01 2012-05-11 14:32:58 -07:00
Jason Duell
e8e53d66d7 Bug 737164. Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-11 14:16:09 -07:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Vivien Nicolas
194d0680ac Bug 722197 - Add a preference to map some domain names to localhost r=mcmanus 2012-05-11 12:59:19 -07:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Brian R. Bondy
4e98f0541b Bug 753813 - Cache is disabled if you have too many old cache directories to delete
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Benjamin Smedberg
a2f29bbb52 Bug 737164 part B - use fallible or infallible strings appropriately in necko, r=jduell
--HG--
extra : rebase_source : 5fbaa24f4483a3f0b9ffdcd96669133af0b92d56
2012-05-08 13:55:19 -04:00
Patrick McManus
db01f80641 bug 752648 - backout patch for breaking cert override dialog r=backout 2012-05-10 13:11:10 -04:00
Ryan VanderMeulen
0757671832 Backout ff1f86491512:29e94992504b due to orange. 2012-05-09 20:02:40 -04:00
Oonishi Atsushi
592e502de4 Bug 282432 - Test. r=bz 2012-05-09 18:46:44 -04:00
Oonishi Atsushi
e68c211c17 Bug 282432 - Calling asyncOpen on a file channel should notify about file not found errors asynchronously instead of throwing from asyncOpen. r=bz 2012-05-09 18:46:12 -04:00
Ed Morley
46b7d48326 Merge mozilla-central to mozilla-inbound 2012-05-09 18:09:29 +01:00
Honza Bambas
5943db1a94 Bug 748647 - INHIBIT_PERSISTENT_CACHING was set to early, r=michal 2012-05-09 14:58:39 +02:00
Jason Duell
8d58cf32b8 Bug 752675. Clarify why we don't preconnect for some cache flags. r=mcmanus 2012-05-08 18:02:31 -07:00
Jason Duell
093619a04b Bug 752675- Improve documentation of nsIRequest::LOAD_FROM_CACHE. r=michal 2012-05-08 18:01:57 -07:00
Jason Duell
07b4ed4ca6 Bug 750616 - Get rid of warnings in necko on android. r=blassey 2012-05-08 17:00:12 -07:00
Gavin Sharp
2ea332e309 Bug 738992: add some debug logging to try and figure out why this test fails intermittently 2012-05-08 09:45:32 -07:00
Honza Bambas
21c21c227a Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Patrick McManus
21f73776b7 bug 726366 - support tunneling spdy through proxies r=honzab
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
ddd447c1fa bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab 2012-05-07 09:43:46 -04:00
Geoff Lankow
85b0375b2b Backed out changeset b4cf9833464e (bug 715837) 2012-05-07 23:42:18 +12:00
Honza Bambas
5f734d1558 Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Doug Turner
b966ec32a4 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Patrick McManus
4a031c2685 bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Ehsan Akhgari
381dadb912 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
512194e278 Bug 670514 - LNK file test for Windows share security. r=bz 2012-05-03 15:23:32 -04:00
Brian R. Bondy
ea6cc5b78c Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Patrick McManus
898a51261f bug 749839 - apply unexpected server read test only to http pconns r=jduell 2012-05-03 09:10:11 -04:00
Kai Engert
7f18ba6efe backout bug 650355, r=wtc 2012-05-03 12:38:29 +02:00
Geoff Brown
ee3a9d74b6 Bug 750817 - Do not rely on xpcomlib in netwerk xpcshell tests. r=jduell 2012-05-03 06:22:58 -04:00
Brian Nicholson
4183a953ab Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab 2012-04-30 10:57:09 -07:00
Dão Gottwald
9e72591789 Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-04-30 13:06:45 +02:00
julian.reschke@gmx.de
377485b3da Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell 2012-04-29 13:40:00 -07:00
Patrick McManus
41fb5919a0 bug 749649 checked wrong pointer in SpeculativeConnect r=honzab 2012-04-27 16:18:21 -04:00
Nicholas Nethercote
c33177f72e Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick McManus
7f63c7e0c3 bug 738914 - orange websocket pipeline::isdone from main thread r=jduell
--HG--
extra : rebase_source : 206a38c1a8d9bac40bacb2e9556651d83406b115
2012-04-25 22:02:12 -04:00
David Keeler
42c3843cfa Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Nick Hurley
6f00f04785 Bug 719609 - Part 2: xpcshell harness support for running the node spdy server. r=ted 2012-04-25 20:12:33 -04:00
Nick Hurley
8a69e692d9 Bug 719609 - Part 1: Add some basic unit tests for SPDY. r=mcmanus,ted 2012-04-25 20:12:33 -04:00
Shriram Kunchanapalli
c75394595e Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Ed Morley
50eb27b549 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell
065e1ea766 Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-05-03 00:35:55 -07:00
Jason Duell
2026a449d3 Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus 2012-05-03 00:28:57 -07:00
Patrick McManus
b364acbc36 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Patrick McManus
db6dda6a92 bug 729133 - internal necko speculative connections r=honzab
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Andrew Sutherland
6b35572c95 Bug 717242, r=mcmanus 2012-04-25 14:50:20 +02:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Michal Novotny
0d58cac181 Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache 2012-04-25 01:11:39 +02:00
Michal Novotny
f7b7a7a0ee Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock 2012-04-25 01:07:06 +02:00
Patrick McManus
4963a1fea8 bug 746731 - nsHttpConnection::mIdleTimeout initialization fixes r=honzab 2012-04-24 15:12:06 -04:00
Patrick McManus
e011226c9f bug 745379 - mistake in spdy/2 spec reversed actual priority values r=honzab 2012-04-15 13:11:23 -04:00
Patrick McManus
709bde9e59 bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab 2012-04-13 15:47:43 -04:00
Michal Novotny
ca51cdfda7 Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress 2012-04-12 18:27:38 +02:00
Michal Novotny
bc67dc70c0 Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread() 2012-04-12 18:24:57 +02:00
Ms2ger
630bc4c173 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell
8b08960dc0 Bug 712191 - Clean up websocket close codes and abort logic. r?mcmanus 2012-04-11 13:20:00 -07:00
Jason Duell
9b7f4c4c86 Bug 738484 - Handle Location: that won't parse to valid URI. r=mcmanus 2012-04-11 13:26:23 -07:00
Patrick McManus
3207aa242d bug 743747: fix landing with 603514 r=honzab 2012-04-11 13:49:32 -04:00
Patrick McManus
a065e49099 bug 743587 Intermittent Linux talos crash [@ nsHttpConnection::CloseTransaction] r=honzab 2012-04-11 13:11:10 -04:00
Patrick McManus
f3974807f4 bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Jason Duell
03721779fd Bug 742174 - Allow empty Location header. r=mcmanus 2012-04-09 16:50:35 -07:00
Patrick McManus
0037e47e55 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
90c7b53cb5 bug 742935: fix landing problem with 717350 r=honzab
--HG--
rename : netwerk/test/unit/test_mismatch_lm.js => netwerk/test/unit/test_mismatch_last-modified.js
2012-04-09 10:21:28 -04:00
Patrick McManus
685e380e5e bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -04:00
Ben Bucksch
410f4e95ea #pragma O0 fails on GCC 4.4 with an Internal Compiler Error. -- bug 621446, r=honzab
This pragma was only to investigate another crash on Android, but breaks compile
on g++ 4.4 64bit, e.g. on Ubuntu 10.04 64bit.
Thus, enable that pragma only on Android.
2012-04-09 11:11:53 +02:00
Marco Bonardo
98ac9c56b8 Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Jason Duell
5e606cdb1f Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal 2012-04-06 13:10:32 -07:00
Brian Smith
0cea31a0ed Bug 743076 - Suppress warning warning C4355: 'this' : used in base member initializer list in HttpChannelChild and FTPChannelChild, r=cbiesinger 2012-04-05 00:03:14 -07:00
Ms2ger
9168447887 Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks. 2012-04-06 13:10:30 +02:00
Vivien Nicolas
8da5af3916 Bug 722197 - Add a preference to map some domain names to localhost. r=mcmanus 2012-04-06 03:12:18 -07:00
Brian Smith
f42d995a14 Bug 742610 - Remove opportunistic caching support from nsHttpChannel, r=honzab
--HG--
extra : source : 8b98023b89ddef6e7b0bbed25463c68142877d8e
2012-04-05 00:14:35 -07:00
Patrick McManus
541629f9a6 bug 742827 - fix problem with landing of bug 671591 r=honzab 2012-04-05 18:37:57 -04:00
Daniel Holbert
959af08a05 backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
7a33df3fb0 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Brian Smith
9ae70b601b Bug 736903: nsHttpChannel wraps the aOffset value it passes to its stream listener instead of clamping it, r=cbiesinger
--HG--
extra : rebase_source : 28bc8bdddea0cac6a41482920d059b523197ef03
2012-04-04 18:57:22 -07:00
Brian Smith
afd8019c8a Bug 736895: Suppress warning warning C4355: 'this' : used in base member initializer list in nsHttpChannel::nsHttpChannel, r=cbiesinger
--HG--
extra : rebase_source : bbcacf34a97671cb4750888a2468f6563c52b99a
2012-04-04 18:55:21 -07:00
Brian Smith
aea9246fea Bug 736887: Fix compiler warning in nsHttpChannel.cpp: warning C4244: 'argument' : conversion from 'double' to 'PRTime', possible loss of data, r=cbiesinger
--HG--
extra : rebase_source : 7c100821353b77133108e08f6bf0fd53195c0f9a
2012-04-04 18:54:03 -07:00
Patrick McManus
1a02517634 bug 739023 nightly crash in nshttpchannel::OnDataAvailable() from Restart r=honzab
--HG--
extra : rebase_source : ccb196fc38394d9ef5e0a4bdf51ea714a57e7224
2012-04-04 21:19:20 -04:00
Patrick McManus
a48adf407a bug 741056 - nightly crash https sites with authenticated proxy r=honzab 2012-04-04 09:39:21 -04:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Patrick McManus
ba0bc6694b bug 739617 - cannot upload large files r=honzab
--HG--
extra : rebase_source : 5ea85a021233cf79a539980efc859a2d5372fe53
2012-04-02 20:36:11 -04:00
Ryan VanderMeulen
ab3afe63c5 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Sinker Li
e655e3b281 Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
571cafb2af Bug 674728 - Part 2: Testcase for pinned application caches. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
16dba2c671 Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Nick Hurley
44b99508e8 bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Patrick McManus
f6ed4d905f Bug 739023 - Disabling the Restart-in-progess logic temporarily since suspected of causing crashes, r=honzab 2012-03-30 00:40:42 +02:00
Michal Novotny
0a86986633 Bug 649194 - Abort when the cache IO thread can't be created 2012-03-27 10:20:54 +02:00
Michael Wu
2f526bb0dd Bug 737196 - Make camera code build on gonk-ics, r=cjones 2012-03-23 15:45:47 -04:00
Ms2ger
0ef036839c No bug - Remove always-true comparison. 2012-03-24 09:18:09 +01:00
Patrick McManus
083437c9ff bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Patrick McManus
31504a7ee5 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bd0154c665 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
cca184acac bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
f5c0c33db7 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
a034a9d50a bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
8d78fbf9c8 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
15a48d8534 bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bba26f5a30 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
afefeddb70 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
10d7ced8a4 bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Michal Novotny
2e1c0f11ff Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
90373c46db Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting() 2012-03-22 23:53:55 +01:00
Michal Novotny
59959982fc Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
4c2a25f437 Bug 737986 - win8 dev kit fixup for win wifi includes, r=dougt 2012-03-22 09:18:43 -05:00
julian.reschke@gmx.de
2cf0629cb1 Bug 714302: add suport for HTTP status code 308 r=mcmanus
--HG--
extra : rebase_source : 2e4a46ac5ebe89a36fb4b12b1985d07d674db5e8
2012-03-21 16:13:42 -04:00
julian.reschke@gmx.de
db53688a39 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell 2012-03-20 14:08:30 -07:00
Matt Brubeck
b1e708752d Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus
e9dedc0c35 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
--HG--
extra : rebase_source : cb9795b5442102a777602f59c225ab9572e06cea
2012-03-20 13:11:32 -04:00
Patrick McManus
ace7949788 bug 717350 doom cache entry on last-modified mismatch r=honzab
--HG--
extra : rebase_source : 5c8692c94bf7e5dcb2d381a85e06bddbabffe22c
2012-03-20 13:11:32 -04:00
Patrick McManus
87998226b0 bug 671591 - restart partial http transaction (in progress) r=honzab
--HG--
extra : rebase_source : 9f71e1803e25c10f6be5f48f324eb47fa8d707c3
2012-03-20 13:11:32 -04:00
Patrick McManus
e691465ad1 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.

--HG--
extra : rebase_source : 58377c9eab2f8a81b7a2d3b9a5f12e1134da4031
2012-03-20 13:11:32 -04:00
Patrick McManus
feb108ee8d bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).

--HG--
extra : rebase_source : ebc44f8dfc3fa7bcee613ff3b74269d908ceac51
2012-03-20 13:11:32 -04:00
Patrick McManus
f9d6e896ee bug 665885 respect keepalive: "max=" attribute r=honzab
--HG--
extra : rebase_source : ce4009c19bb786388338778d594ca8038a4398c1
2012-03-20 13:11:32 -04:00
Patrick McManus
800ed54ae5 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
--HG--
extra : rebase_source : 94c50c125fc66c9d5b4389e20b0187ee40c2e315
2012-03-20 13:11:32 -04:00
Patrick McManus
85224929d2 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Patrick McManus
7200e2b607 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab
--HG--
extra : rebase_source : 26243e1af9e0554553520dae435cc4dcfd551746
2012-03-20 13:11:32 -04:00
Patrick McManus
00fcb68cbc bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : e927c5961b2f6c79c1aa73897900e95ed3f286c5
2012-03-20 13:11:32 -04:00
Gervase Markham
e9f63d2669 Bug 716607 - Add .pm, .wf, .yt to PSL. r=pkasting. 2012-03-20 15:04:40 +00:00
Phil Ringnalda
532bb57e36 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-17 16:57:05 -07:00
Chris Jones
df8ec0c99c Bug 736778: Work around probable compiler bug breaking DEBUG builds of GonkCaptureProvider. r=fabrice (npotb) 2012-03-17 14:42:24 -07:00
Jason Duell
2f5f7cb248 Backed out changeset cd5ac132e763 2012-03-15 23:36:01 -07:00
Jason Duell
9e91c23e8d Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
Jason Duell
2b5c96846d Backed out changeset 5aaec7f808b6 2012-03-15 20:56:23 -07:00
Jason Duell
e1a70438bd Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
John Daggett
47ad96505d Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
914cbcc71a Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Jason Duell
6ddc2df4a6 Bug 664163: I will back this out when xpcshell test_traceable.js fails eventually. r=jduell 2012-03-15 18:54:58 -07:00
julian.reschke@gmx.de
ee67bebbe2 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Jason Duell
2823d113a3 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Jason Duell
406a6ac98a Backed out c9265ada6f40 2012-03-15 15:05:41 -07:00
Jason Duell
6d25ca614d Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07:00
Derrick Rice
a921c7c6cf Bug 732363 - Avoid running test_net_addr on windows; it is failing for unknown reasons (race?) r=jdm 2012-03-15 07:10:00 -04:00
Patrick McManus
4465abacbf bug 735552 - wrong assert on shutdown in nsHttpConnectionMgr::ReportSpdyConnection r=honzab
--HG--
extra : rebase_source : 8baf5fbae8d9ad8196fd699191c0013f7ea8f424
2012-03-15 00:03:04 -04:00
Phil Ringnalda
57a4a15d09 Back out 9899522b6ad9 (bug 664163) 2012-03-13 22:11:55 -07:00
Jason Duell
60a0003b1e Bug 664163: Yes this will get backed out: see bug. r=jdm 2012-03-13 18:46:30 -07:00
Jason Duell
d595edfb04 Backed out changeset fd30aea30b03 2012-03-13 15:12:46 -07:00
Jason Duell
90a9174f19 Backed out changeset fd30aea30b03 2012-03-13 15:10:01 -07:00
Daniel Holbert
e0c3342eeb Bug 621446: followup to investigation patch - wrap MSVC-only pragma in ifdef so other compilers don't complain about it. r=jduell 2012-03-13 14:57:28 -07:00
Jason Duell
1255fb01e1 Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-13 11:49:01 -07:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Kai Engert
33b07ad87b Bug 650355, Stop accepting MD5 as a hash algorithm in certificate signatures, r=johnath 2012-03-16 16:42:51 +01:00
Kai Engert
c31cb0817e Bug 732390, Add preference to configure acceptance of MD5 in signatures, still accept by default, NSS calls r+=rrelyea, PSM pref code r+=honzab, pref name feedback+=dveditz 2012-03-10 22:18:13 +01:00
Honza Bambas
e5c1562c42 Bug 720320 - Prevent stuck in offline mode when starting in link state managed mode w/o a link up, credits=standard8, r=biesi 2012-03-08 17:24:17 +01:00
Matt Brubeck
6e082dacc8 Back out a2d511a124d7 (bug 664163) for causing failures in test_traceable_channel_wrap.js 2012-03-06 13:28:25 -08:00
Derrick Rice
89160245ce Bug 732363 - Avoid oranges in test_net_addr.js by retaining references to the transport and output stream. r=jdm 2012-03-06 05:02:00 -05:00
Gervase Markham
6134500365 Bug 712640 - Split PSL into "registry" and "owner-requested" sections. r=pkasting. 2012-03-06 11:49:00 +00:00
Jason Duell
cc157568b6 bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:11:19 -08:00
Jason Duell
08fa085cc3 Backed out changeset 84a2ed6120c3: wrong bug name in comment msg 2012-03-05 23:10:19 -08:00
Jason Duell
6c977731d8 Bug 648878. e10s: fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:06:09 -08:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
78363fbd82 Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Justin Lebar
c07407a766 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Derrick Rice
ef2394dd2f Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
2012-02-29 06:19:00 -05:00
Nick Hurley
9f8e4b6d95 Bug 730163 - Telemetry for how long we wait to acquire the cache service lock. r=michal.novotny 2012-02-28 18:40:39 -05:00
Nathan Froyd
b009ee6750 Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Ed Morley
2d6b93358f Backout 6d239fd74f71 (bug 720846) for Windows build failures 2012-02-28 16:00:18 +00:00
Derrick Rice
4c7b066287 Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport. r=biesi sr=bz 2012-02-28 05:34:00 -05:00
Patrick McManus
31663dd281 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Nathan Froyd
23d15d13d7 Bug 700659 - Slay nsHashSets in netwerk. r=jduell 2011-11-08 15:22:15 -05:00
Geoff Lankow
23d7faa012 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Geoff Lankow
57f674e087 Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
acb7dee365 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05:00
Patrick McManus
97eb17b2fa bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Patrick McManus
6befe68970 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Patrick McManus
2ca5173015 bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Jim Mathies
367e6edfa7 Bug 699247 - Never call nsNotifyAddrListener's CheckAdaptersAddresses on the main thread and warn if somebody does. r=m_kato 2012-02-23 08:53:58 -06:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Jason Duell
b89ae61fae Bug 696085: WebSocket connection opening across page loads r=smaug 2012-02-21 14:57:10 -08:00
Jothan Frakes
55ab7acf75 Bug 694030 - make .qa have open registration at 2nd level in PSL. r=gerv. 2012-02-21 16:54:15 +00:00
Jothan Frakes
50adbd00ab Bug 688908 - standardize formatting of .asia entry in PSL. r=gerv. 2012-02-21 16:51:34 +00:00
Gervase Markham
509857e633 Bug 687459 - add co.ua and pp.ua private registries to PSL. 2012-02-21 16:50:02 +00:00
Gervase Markham
ef5bef1f4e Bug 685781 - add CentralNIC domain jp.net to the PSL. 2012-02-21 16:45:36 +00:00
Gervase Markham
9c4e9a5ab0 Bug 676359 - add exceptions for www.ck and www.gt to PSL. 2012-02-21 16:42:44 +00:00
Gervase Markham
84dc8ef9e2 Bug 666500 - Add co.cl and mil.cl to PSL. 2012-02-21 16:39:47 +00:00
Jothan Frakes
ef1ecde840 Bug 661509 - remove .yu from PSL. r=gerv. 2012-02-21 16:37:59 +00:00