Commit Graph

2047 Commits

Author SHA1 Message Date
Ethan Tseng
49df6aced7 Bug 1049241 - [MADAI][Multimedia] Cannot play some RTSP link due to error in MP4A-LATM assembler. r=sworkman 2014-09-03 10:54:54 +08:00
Tim Taubert
acab6146ae Bug 525284 - When cancelling a HTTP transaction, abandon all its half-open sockets r=mcmanus 2014-08-30 10:24:36 +02:00
Ryan VanderMeulen
a3c8179253 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Ryan VanderMeulen
84bb6ce5ad Backed out 6 changesets (bug 939318) for Windows xpcshell failures on a CLOSED TREE.
Backed out changeset faece15110ef (bug 939318)
Backed out changeset ecc0368d9283 (bug 939318)
Backed out changeset 4dcb889cf913 (bug 939318)
Backed out changeset 2fe8c65c26c2 (bug 939318)
Backed out changeset 0b9c1bbc7826 (bug 939318)
Backed out changeset fc191ae0a0e8 (bug 939318)
2014-08-29 14:22:47 -04:00
Ethan Tseng
0914f87108 Bug 1059144 - [MADAI][Multimedia] System crash when RTSP client connects to a non-RTSP-server port. r=sworkman 2014-08-29 17:57:32 +08:00
Daniel Stenberg
8d1e8907ab Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
a67387629d Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
7b39579914 Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 -04:00
Fabrice Desré
172043d717 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Ryan VanderMeulen
f153cd4134 Backed out changeset 2f94e060bac3 (bug 1012917) for Mnw bustage.
CLOSED TREE
2014-08-28 14:58:14 -04:00
Steve Workman
f41bbe849b Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=reuben r=mayhemer 2014-08-28 10:58:20 -07:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Wes Kocher
abd94963b6 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Ryan VanderMeulen
5927bdbbcf Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Ryan VanderMeulen
8017b23648 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Jim Chen
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Botond Ballo
b3b8a74941 Bug 965022 - Use MOZ_FORMAT_PRINTF for nsTString::AppendPrintf, and fix incorrect usages. r=jrmuizel 2014-08-26 12:05:41 -04:00
Daniel Stenberg
0678ab3012 Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
dedeaf267e Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
08c0f03cf8 Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-24 23:19:00 -04:00
Wes Kocher
c7dd458b8c Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Ryan VanderMeulen
daedf86689 Bug 1048579 - Update the nsIChannel UUID. rs=Ms2ger
--HG--
extra : rebase_source : c4032b92e3ced113610ec9c365a5dadea2f57947
2014-08-25 09:55:57 -04:00
Robert O'Callahan
622145dd8d Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Valentin Gosu
90677f4d7d Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Steve Workman
209b12a168 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 15:17:32 -07:00
Wes Kocher
63a2f980c8 Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
dd1d112130 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 10:49:29 -07:00
Ryan VanderMeulen
fc020ce791 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
0850121797 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Honza Bambas
c9317f4613 Bug 1040086 - EV identifier missing when restoring session with HTTP cache v2. r=michal 2014-08-21 15:50:16 -07:00
Christoph Kerschbaumer
e25473a9a7 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Patrick McManus
1c95511423 bug 1056133 - add h2 to coalescing list r=hurley 2014-08-20 10:41:14 -04:00
Patrick McManus
68e306f335 bug 1050063 - consider tls client hello version in alpn/npn offer list r=hurley r=keeler 2014-08-15 09:39:53 -04:00
Nicholas Hurley
068850377e Bug 1054173 - Do not fail connections when receiving request headers. r=mcmanus 2014-08-18 14:59:32 -07:00
Ryan VanderMeulen
24a88dd7d4 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ed Morley
451be40554 Merge mozilla-central and b2g-inbound 2014-08-15 17:35:28 +01:00
Ethan Tseng
ef3a013663 Bug 1049235 - [MADAI][Multimedia] Some RTSP link does not operate seek function. r=sworkman 2014-08-08 16:48:02 +08:00
Shigeki Ohtsu
55c24f6b7c Bug 1051982 - fix integer prefix to encode Header Table Size Update r=hurley 2014-08-12 09:31:26 +09:00
Michael Wu
58f9bd9241 Bug 1036394 - Add support for getting the zip entry from the jar channel, r=jduell 2014-08-04 11:54:28 -04:00
Dragana Damjanovic
29ae85f646 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
Nicholas Nethercote
8c60d14a1a Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Nicholas Hurley
bd47f77470 Bug 1046892 part 1 - HTTP/2 draft 14 client implementation r=mcmanus 2014-08-05 08:41:09 -07:00
Jeremy Poulin
a70b8ed90e Bug 1020419 - Extend nsHttpChannel to skip validation for IsForcedValid. r=michal 2014-07-18 11:52:30 -07:00
Ehsan Akhgari
7207465c1b Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
77dfc12d57 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Patrick McManus
49dc4df69c bug 1027720 - enforce h2 requirement that sever uses aead r=hurley r=dkeeler 2014-08-04 16:54:10 -04:00
Patrick McManus
2a6917939a bug 1047698 - reorder alpn/npn offer lists r=hurley 2014-08-04 16:54:08 -04:00
Ryan VanderMeulen
f8e5caee0f Merge inbound to m-c on a CLOSED TREE. a=merge 2014-08-04 16:06:19 -04:00
Ethan Tseng
d5e2bf4155 Bug 1038046 - [RTSP] RTSP cannot play some H263 video streaming. r=sworkman 2014-07-30 22:59:08 +08:00
Dragana Damjanovic
6a9806b987 Bug 1007020 - Also send progress information when connection is LOAD_BACKGROUND. r=bz 2014-08-01 02:10:00 -04:00
Ed Morley
70fd63dbf8 Backed out changeset 972daa5dd3c5 (bug 1027720) for build failures 2014-08-04 14:33:14 +01:00
Patrick McManus
14ff8aa315 bug 1027720 - enforce h2 requirement that sever uses aead r=hurley r=dkeeler 2014-08-01 16:59:00 -04:00
Patrick McManus
a2300b7795 bug 1043402 - spdy/h2 ce errors should be stream local r=hurley 2014-08-01 16:31:41 -04:00
Patrick McManus
7a1103a065 bug 1047474 - spdy/h2 dispatch with shift-reload sometimes sticks r=hurley 2014-08-01 12:11:02 -04:00
Ryan VanderMeulen
c8904618ee Backed out changeset 0b900c9e0940 (bug 1038046) for Wasabi bustage. a=backout 2014-08-01 15:40:53 -04:00
Ethan Tseng
f958802821 Bug 1038046 - [RTSP] RTSP cannot play some H263 video streaming. r=sworkman 2014-07-30 22:59:08 +08:00
Ethan Tseng
3156eb2288 Bug 1038037 - B2G crash when opening malformed MP4A-LATM audio streaming over RTSP. r=sworkman 2014-07-24 23:21:25 +08:00
Oleg Romashin
30a5c9e2bd Bug 966814 - Build with disabled X11 on linux failing to compile. r=ted 2014-07-29 19:21:08 +02:00
Mike Hommey
20d181268e Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Patrick McManus
b1fdba12bd bug 1041272 - websockets partial last frame stall r=jduell 2014-07-25 20:37:02 -04:00
Patrick McManus
8d789efedf Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Patrick McManus
88c58d592b bug 1040930 - part 4 wss over https proxying r=hurley
--HG--
extra : rebase_source : 1e115e22468e7df06a2ca407bbcfd7e92f5a649a
2014-07-18 14:59:01 -04:00
Patrick McManus
c72aa3b293 bug 1040930 - part 3 https is a transaction property not a connection property r=hurley
--HG--
extra : rebase_source : dff8ea4b4e6f55f9e8dff99700400890b4492a31
2014-07-17 20:52:23 -04:00
Ben Kelly
2d74adee1a 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
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Ethan Tseng
e308a1933d Bug 1026923 - [RTSP] Change the User-Agent string of RTSP client. r=sworkman 2014-07-19 10:49:02 +08:00
Patrick McManus
1dacb7015a bug 1038304 - websockets offline hang r=sworkman 2014-07-17 11:56:38 -04:00
Steve Workman
793520eac4 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Shian-Yow Wu
63d29bd74a Bug 988816 - Support multiple OpenNSPRFileOpen() on RemoteOpenFile. r=aklotz, jduell 2014-07-18 10:46:22 +08:00
Patrick McManus
79840fddcb Bug 1039776 - http response version telemetry r=sworkman 2014-07-17 21:54:04 -04:00
Wes Kocher
9ad6223bc1 Merge inbound to m-c a=merge 2014-07-16 17:08:26 -07:00
Carsten "Tomcat" Book
8bcfa7bb61 Merge mozilla-central to fx-team 2014-07-16 16:01:26 +02:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Honza Bambas
6e3e816527 Bug 1009531 - Failing to use preloaded cache for hosted applications over https, r=jduell 2014-07-16 16:16:29 +02:00
Jeremy Poulin
894ed6c712 Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley 2014-07-14 11:30:18 -07:00
Tim Taubert
af7f2cb616 Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-07-03 17:16:08 -07:00
Rui You
baac8bbde3 Bug 1037339 - Update nsIHttpChannel.idl to reflect the changes of requestMethod property. r=hurley 2014-07-15 01:36:00 +02:00
Ryan VanderMeulen
ffa2468a1f Merge m-c to inbound. a=merge 2014-07-14 16:19:58 -04:00
Ryan VanderMeulen
28579f0ccd Merge b2g-inbound to m-c. a=merge 2014-07-14 16:17:10 -04:00
Andrew McCreight
77d782bb63 Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Patrick McManus
52aa907e51 bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley 2014-07-07 11:43:11 -04:00
Patrick McManus
05b64f53db bug 1037082 - part 2/3 407 proxy auth for http over https r=hurley 2014-06-24 16:52:48 -04:00
Patrick McManus
047d57f2c1 bug 1037082 - part 1/3 dont doauthretry with closed persistent connection r=hurley 2014-07-09 18:06:12 -04:00
Dragana Damjanovic
764a21b4be Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Ethan Tseng
18144ac588 Bug 1032065 - RTSP video playback quality is poor if payload type is MP4V-ES. r=sworkman, r=bechen 2014-07-11 17:29:47 +08:00
Nicholas Hurley
ae1c7f98f3 Bug 1014600 part 2 - Properly truncate buffers when processing new header blocks. r=mcmanus 2014-07-11 09:48:34 -07:00
Nicholas Hurley
efe457b7ab Bug 1014600 part 1 - Improve HPACK logging. r=mcmanus 2014-07-11 09:48:32 -07:00
Boris Zbarsky
bdb030720d 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
1987b0c856 Bug 965413 part 10. Use a LoadInfo for loading documents in various places where we force a particular principal. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
799aef1492 Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
da8d201a1f Bug 965413 part 7. Make it safe to GetOwner() and SetOwner() on channels without asserting. r=smaug
We're going to want to check whether a channel has an existing owner in some cases, but some channels currently assert if you just ask them whether they have an owner.
2014-07-10 02:56:37 -04:00
Boris Zbarsky
e8aa2f7514 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Michal Novotny
c3742f1212 Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Wes Kocher
4a69a1eeba Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
f80ce043ba Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Steve Workman
8b6d2429ab Bug 1036056 - Remove dangerous public destructor of nsFileUploadContentStream r=mcmanus 2014-07-09 11:02:06 -07:00
Patrick McManus
33f50185aa bug 1035993 - spdy sessions threadsafe as nshttpchannel MT refcounts them r=hurley 2014-07-09 11:20:41 -04:00
Benoit Jacob
0895eca019 Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00