Commit Graph

5278 Commits

Author SHA1 Message Date
Richard Newman
ff8f989d85 Bug 1071785 - Fix strict mode error in httpd.js. r=trivial 2014-10-01 18:09:42 -07:00
Jacek Caban
85d51fc6c4 Bug 1067679 - mingw fixup. 2014-10-01 10:58:30 +02:00
Carsten "Tomcat" Book
e2ff1820af Merge m-c to mozilla-inbound 2014-09-30 15:35:59 +02:00
Honza Bambas
193df74284 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-30 15:32:47 +02:00
Carsten "Tomcat" Book
1f82b2fb58 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Ryan VanderMeulen
7420c8422d Merge m-c to fx-team. a=merge 2014-09-29 16:09:22 -04:00
Ed Morley
45fcc7c2ff Backed out changeset 50220dbf59ed (bug 1064258) for xpcshell failures; CLOSED TREE 2014-09-29 17:43:10 +01:00
Honza Bambas
754c1af9cc Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-29 17:01:58 +02:00
Christoph Kerschbaumer
9c3b215c94 Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell) 2014-09-25 07:23:27 -07:00
Stephen Pohl
cf2ca1fd7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Ben Turner
141df104d6 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
James Willcox
3e19f27830 Bug 1024614 - Guard against null resolver when flushing DNS cache r=sworkman
--HG--
extra : histedit_source : 028f9b336a9da0ede7fec22afc4cabd00b86222f
2014-09-26 13:31:22 -05:00
Camilo Viecco
1954b909cc Bug 787133 - (hpkp) Part 1/2. Header Parsing and interface within PSM. r=keeler, r=mcmanus 2014-09-03 10:24:12 -07:00
Patrick McManus
83b1a493e3 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Phil Ringnalda
dd7ebaded4 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
0de2d98100 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Wes Kocher
bc0709c6bc Backed out changeset 0b75d671af47 (bug 1072860) for b2g m3 orange 2014-09-25 16:45:14 -07:00
Patrick McManus
589b59a268 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Ryan VanderMeulen
4cf7455ce4 Merge inbound to m-c. a=merge 2014-09-25 16:46:51 -04:00
Jonathan Hao
2a91faeeab Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
Steve Workman
e3ffd2b86d Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Andrea Marchesini
308a9b24dc Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-24 17:09:50 +01:00
Ed Morley
6c7b4f5958 Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Ed Morley
fc392ab02d Backed out changeset 0a066b7ffa46 (bug 939318) 2014-09-24 16:17:32 +01:00
Ed Morley
d70213fe4e Backed out changeset 20ae968df114 (bug 939318) 2014-09-24 16:17:27 +01:00
Ed Morley
2d34f1993e Backed out changeset a7f522902e40 (bug 939318) 2014-09-24 16:17:23 +01:00
Ed Morley
be82e4f5d9 Backed out changeset c15814d1ec25 (bug 939318) 2014-09-24 16:17:18 +01:00
Ed Morley
d9e3d2c7f8 Backed out changeset fedb7e3d1ae0 (bug 939318) 2014-09-24 16:17:14 +01:00
Daniel Stenberg
a0eaf77f38 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Daniel Stenberg
f27fff6422 Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
c0691b4a28 Bug 939318 - Have 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
e6b07731ef Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
d4de9b21f4 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-09-11 06:55:00 -04:00
Daniel Stenberg
9b14e61d5f Bug 939318 - Detect network interface changes on windows. 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. It does not send any CHANGED events
during the first 2 seconds after startup.

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 and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-23 03:48:00 -04:00
Carsten "Tomcat" Book
bb6b27d528 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
f9320e7667 Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Andrea Marchesini
9dc4fd68a2 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-23 22:26:00 +02:00
Wes Kocher
0300f6d4af Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Nicholas Hurley
f5d481fd4d Bug 1046915 - Pref to advertise the latest HTTP/2 draft as "h2". r=mcmanus 2014-09-23 10:49:13 -07:00
Nils Ohlmeier [:drno]
999a679fe9 Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Christoph Kerschbaumer
7879c92b87 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Daniel Stenberg
c9509d1945 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Daniel Stenberg
5cc4927898 Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
714212437e Bug 939318 - Have 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
f94b737def Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
820cb9c20e 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-09-11 06:55:00 -04:00
Daniel Stenberg
19d039df28 Bug 939318 - Detect network interface changes on Windows. 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. It does not send any CHANGED events
during the first 2 seconds after startup.

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 and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-24 23:14:00 -04:00
Valentin Gosu
9363a1533b Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00