Commit Graph

4353 Commits

Author SHA1 Message Date
Wes Kocher
725423ccde Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Henry Chang
9213f1f427 Bug 1058022 - B2G crashes during RTSP and HTTP streaming playback. r=sworkman 2014-09-10 16:09:48 +08:00
Honza Bambas
a74bb7ffb1 Bug 1065478 - POSTs are coming from offline application cache, r=jduell 2014-09-16 15:51:51 +02:00
Honza Bambas
430a858de9 Bug 1066726 - Concurrent HTTP cache read and write issues, r=michal+jduell 2014-09-16 15:51:50 +02:00
Ben Turner
1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Kyle Huey
1e8e0c575a Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Valentin Gosu
96eb6b1308 Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab 2014-05-15 08:26:07 +03:00
Carsten "Tomcat" Book
8d84d4beb8 Backed out changeset 876ba605d62c (bug 939318) for XPCTest Failures 2014-09-08 12:41:53 +02:00
Carsten "Tomcat" Book
43f8d5802d Backed out changeset 6c0f309856fc (bug 939318) XPCTest Failures 2014-09-08 12:41:39 +02:00
Carsten "Tomcat" Book
96df5f5804 Backed out changeset 19325851ecee (bug 939318) for XPCtest failures 2014-09-08 12:41:16 +02:00
Daniel Stenberg
d4b3929223 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 +02:00
Daniel Stenberg
e7652bafea 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 +02:00
Daniel Stenberg
d590129918 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 +02:00
Carsten "Tomcat" Book
6a39b7b550 Backed out changeset 4c214efc94f8 (bug 939318) 2014-09-05 13:10:50 +02:00
Carsten "Tomcat" Book
a5a123f75b Backed out changeset f6442e1ba5f0 (bug 939318) 2014-09-05 13:10:48 +02:00
Carsten "Tomcat" Book
3838458451 Backed out changeset fee0bffd3a91 (bug 939318) 2014-09-05 13:10:43 +02:00
Daniel Stenberg
70a0a77385 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 +02:00
Daniel Stenberg
3815268a76 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 +02:00
Daniel Stenberg
3164855cdf 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 +02:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Ethan Tseng
aed1b15db2 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
0e42e71b6c 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
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Ryan VanderMeulen
5c2f080f01 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
6f5dfa420c 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
686092a79c 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
0d9d99d085 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
aafcd6d51a 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é
4533961b74 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Ryan VanderMeulen
d349beb9d9 Backed out changeset 2f94e060bac3 (bug 1012917) for Mnw bustage.
CLOSED TREE
2014-08-28 14:58:14 -04:00
Steve Workman
37443bc709 Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=reuben r=mayhemer 2014-08-28 10:58:20 -07:00
Nicholas Nethercote
df1c26a45e 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
dac5eaa4c4 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Ryan VanderMeulen
7c10863e87 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a19bf3acbf 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
0efb1eb5c4 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
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Botond Ballo
c8e5c6df06 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
9234024b80 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
2057a12ca2 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
458b97f93e 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
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Ryan VanderMeulen
27e10a0ca2 Bug 1048579 - Update the nsIChannel UUID. rs=Ms2ger
--HG--
extra : rebase_source : c4032b92e3ced113610ec9c365a5dadea2f57947
2014-08-25 09:55:57 -04:00
Robert O'Callahan
43fa3946ce Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Steve Workman
72470d21f0 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 15:17:32 -07:00
Wes Kocher
0b164a61dd 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
ff26b43196 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 10:49:29 -07:00
Ryan VanderMeulen
0b6826aac5 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
d82cede239 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Trevor Saunders
fd5e9d1fcc 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
2c67fe9215 Bug 1040086 - EV identifier missing when restoring session with HTTP cache v2. r=michal 2014-08-21 15:50:16 -07:00
Christoph Kerschbaumer
ce11d17474 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Patrick McManus
8bb10930d4 bug 1056133 - add h2 to coalescing list r=hurley 2014-08-20 10:41:14 -04:00
Patrick McManus
300766f367 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
f19d15e618 Bug 1054173 - Do not fail connections when receiving request headers. r=mcmanus 2014-08-18 14:59:32 -07:00
Ryan VanderMeulen
7c6c3f9580 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ed Morley
c3b038504e Merge mozilla-central and b2g-inbound 2014-08-15 17:35:28 +01:00
Ethan Tseng
0461c19b5c Bug 1049235 - [MADAI][Multimedia] Some RTSP link does not operate seek function. r=sworkman 2014-08-08 16:48:02 +08:00
Shigeki Ohtsu
dd8aa72b47 Bug 1051982 - fix integer prefix to encode Header Table Size Update r=hurley 2014-08-12 09:31:26 +09:00
Michael Wu
a7fb246d17 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
7da0afd3c8 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
a7cf4142b4 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
8446acda81 Bug 1046892 part 1 - HTTP/2 draft 14 client implementation r=mcmanus 2014-08-05 08:41:09 -07:00
Jeremy Poulin
8f0d74a903 Bug 1020419 - Extend nsHttpChannel to skip validation for IsForcedValid. r=michal 2014-07-18 11:52:30 -07:00
Ehsan Akhgari
0403683a4f Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
748c8aca19 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Patrick McManus
f8a14606da bug 1027720 - enforce h2 requirement that sever uses aead r=hurley r=dkeeler 2014-08-04 16:54:10 -04:00
Patrick McManus
4108cd88f6 bug 1047698 - reorder alpn/npn offer lists r=hurley 2014-08-04 16:54:08 -04:00
Ryan VanderMeulen
6253da7301 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-08-04 16:06:19 -04:00
Ethan Tseng
2df91871a8 Bug 1038046 - [RTSP] RTSP cannot play some H263 video streaming. r=sworkman 2014-07-30 22:59:08 +08:00
Dragana Damjanovic
7c154d043f Bug 1007020 - Also send progress information when connection is LOAD_BACKGROUND. r=bz 2014-08-01 02:10:00 -04:00
Ed Morley
606b89b834 Backed out changeset 972daa5dd3c5 (bug 1027720) for build failures 2014-08-04 14:33:14 +01:00
Patrick McManus
004b6798a9 bug 1027720 - enforce h2 requirement that sever uses aead r=hurley r=dkeeler 2014-08-01 16:59:00 -04:00
Patrick McManus
6372a893b2 bug 1043402 - spdy/h2 ce errors should be stream local r=hurley 2014-08-01 16:31:41 -04:00
Patrick McManus
67ac27c906 bug 1047474 - spdy/h2 dispatch with shift-reload sometimes sticks r=hurley 2014-08-01 12:11:02 -04:00
Ryan VanderMeulen
65b0793de5 Backed out changeset 0b900c9e0940 (bug 1038046) for Wasabi bustage. a=backout 2014-08-01 15:40:53 -04:00
Ethan Tseng
2a81ce1d98 Bug 1038046 - [RTSP] RTSP cannot play some H263 video streaming. r=sworkman 2014-07-30 22:59:08 +08:00
Ethan Tseng
a8dda2393c 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
a52ac8a09b Bug 966814 - Build with disabled X11 on linux failing to compile. r=ted 2014-07-29 19:21:08 +02:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Patrick McManus
4569ca8c5c bug 1041272 - websockets partial last frame stall r=jduell 2014-07-25 20:37:02 -04:00
Patrick McManus
7b3d6bf83d 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
de773340e1 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
c82fa2b550 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
0d01c09be4 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
bc5d6801bb 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
4fb0600a31 Bug 1026923 - [RTSP] Change the User-Agent string of RTSP client. r=sworkman 2014-07-19 10:49:02 +08:00
Patrick McManus
d1f18d1c0c bug 1038304 - websockets offline hang r=sworkman 2014-07-17 11:56:38 -04:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Shian-Yow Wu
ebdb09281e Bug 988816 - Support multiple OpenNSPRFileOpen() on RemoteOpenFile. r=aklotz, jduell 2014-07-18 10:46:22 +08:00
Patrick McManus
4002d23c11 Bug 1039776 - http response version telemetry r=sworkman 2014-07-17 21:54:04 -04:00
Wes Kocher
b32d84dcad Merge inbound to m-c a=merge 2014-07-16 17:08:26 -07:00
Carsten "Tomcat" Book
f12994cfa8 Merge mozilla-central to fx-team 2014-07-16 16:01:26 +02:00
Benoit Girard
1465e09a99 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
91997e8450 Bug 1009531 - Failing to use preloaded cache for hosted applications over https, r=jduell 2014-07-16 16:16:29 +02:00
Jeremy Poulin
6240993aa3 Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley 2014-07-14 11:30:18 -07:00
Tim Taubert
e1c66ad2e2 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
f04433430f Bug 1037339 - Update nsIHttpChannel.idl to reflect the changes of requestMethod property. r=hurley 2014-07-15 01:36:00 +02:00
Ryan VanderMeulen
0809471bf8 Merge m-c to inbound. a=merge 2014-07-14 16:19:58 -04:00
Ryan VanderMeulen
73bd274fb7 Merge b2g-inbound to m-c. a=merge 2014-07-14 16:17:10 -04:00
Andrew McCreight
c3a80ae7ac Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Patrick McManus
29d2ce2ffe bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley 2014-07-07 11:43:11 -04:00
Patrick McManus
57387b318a bug 1037082 - part 2/3 407 proxy auth for http over https r=hurley 2014-06-24 16:52:48 -04:00
Patrick McManus
f9be4e4d22 bug 1037082 - part 1/3 dont doauthretry with closed persistent connection r=hurley 2014-07-09 18:06:12 -04:00
Dragana Damjanovic
2cd40ad8a5 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Ethan Tseng
1ad9100156 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
3ec9845403 Bug 1014600 part 2 - Properly truncate buffers when processing new header blocks. r=mcmanus 2014-07-11 09:48:34 -07:00
Nicholas Hurley
9f15f3e4c3 Bug 1014600 part 1 - Improve HPACK logging. r=mcmanus 2014-07-11 09:48:32 -07:00
Boris Zbarsky
67a99f4507 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
22cec45b71 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
744cc503d7 Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
390d8323b5 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
2d81966ba3 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Michal Novotny
4141a9c05a Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Wes Kocher
b4cf7d16de Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
ce5c9f601f Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Steve Workman
972e966190 Bug 1036056 - Remove dangerous public destructor of nsFileUploadContentStream r=mcmanus 2014-07-09 11:02:06 -07:00
Patrick McManus
676658f113 bug 1035993 - spdy sessions threadsafe as nshttpchannel MT refcounts them r=hurley 2014-07-09 11:20:41 -04:00
Benoit Jacob
2e6afb5415 Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00
Patrick McManus
c8edfaeab1 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-08 12:43:04 -04:00
Patrick McManus
e3a29a5c3e revert bug 1034918 r=backout
--HG--
extra : rebase_source : 005df8e7a680767c2ebd890d653b623eb31ac552
2014-07-07 16:16:29 -04:00
Patrick McManus
4082ca9a40 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-07 10:40:08 -04:00
Wes Kocher
e62864656c Backed out 2 changesets (bug 1028187) for mochitest-oth orange
Backed out changeset 01cba8ff52dd (bug 1028187)
Backed out changeset caf43baf3306 (bug 1028187)
2014-07-02 17:29:33 -07:00
Tim Taubert
2818af017f Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-06-28 11:56:06 +02:00
Honza Bambas
3450e50e6e Bug 1018883 - Assertion failure: progress <= progressMax (unexpected progress values), at nsHttpChannel.cpp:5464, with 206 response, r=michal 2014-07-02 18:16:21 +02:00
Nicholas Hurley
ed1713d25f Bug 1030203 - Send PROTOCOL_ERROR when receiving PUSH_PROMISE with push disabled. r=mcmanus 2014-06-27 13:13:42 -07:00
Steve Workman
073b721981 Bug 1024015 - Only enable HTTP response timeout when TCP Keepalives are disabled for HTTP r=mcmanus 2014-06-26 11:03:45 -07:00
Dragana Damjanovic
9c72743446 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Ryan VanderMeulen
b8cc2a9367 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Carsten "Tomcat" Book
3ae80963ac Merge mozilla-central to b2g-inbound 2014-06-26 15:58:35 +02:00
Ehsan Akhgari
276ec83e9a Backed out bug 1023058 because the upstream LLVM bug was fixed.
Upstream bug: http://llvm.org/bugs/show_bug.cgi?id=19987
2014-06-25 22:24:49 -07:00
Benjamin Chen
da88119cc7 Bug 1021006 - [RTSP] Browser pops up a network warning message in the end of RTSP streaming. r=sworkman 2014-06-17 17:47:13 +08:00
Andrea Marchesini
e8a09cfe7a Bug 1016352 - WebSocketChannelChild must be thread-safe. r=jduell 2014-06-23 22:43:00 -04:00
Benoit Jacob
ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Patrick McManus
83a742bc82 bug 1029163 - part 3 tunnel https/h1 over h2 could duplicate bytes in upload and corrupt data r=hurley 2014-06-24 07:56:08 -04:00
Patrick McManus
33ef954941 bug 1029163 - part 2 tlsproxy incomplete upload flushes need to be rescheduled r= hurley 2014-06-24 07:56:07 -04:00
Patrick McManus
548c66439c bug 1029163 - part 1 nsPipe can turn failures into OK, consider that in the tlsproxy code r=hurley 2014-06-24 07:56:07 -04:00
Patrick McManus
68ae085486 bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Jeremy Poulin
8ca3668763 Bug 1028426 - Move check for unused speculative connections to where they are removed. r=hurley 2014-06-20 15:17:23 -07:00
Honza Bambas
f156b4c960 Bug 1030426 - network.negotiate-auth.allow-insecure-ntlm-v1-https allows sending NTLMv1 credentials in plain to HTTP proxies, r=mcmanus 2014-06-26 15:08:35 +02:00
Honza Bambas
d8b9a11e34 Bug 1023748 - Allow NTLMv1 over SSL/TLS by default, r=jduell 2014-06-23 19:43:40 +02:00
Nicholas Hurley
77d6c29a3a Bug 1026609 - HTTP/2 draft 13 part 1 - client implementation. r=mcmanus 2014-06-25 17:33:15 -07:00
Valentin Gosu
0bcfcf7756 Bug 1020539 - clear about:networking hostname list when deleting history r=mcmanus 2014-06-21 04:12:56 +03:00
Daniel Stenberg
9a426539c5 Bug 1027353: avoid Http2Session NULL deref. r=hurley 2014-06-18 23:15:00 -04:00
Benoit Jacob
117676ec6f Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jeremy Poulin
7df04cd9fc Bug 1024639 - Added telemetry tracking for used, total, and unused telemetry connections. r=hurley 2014-06-17 13:35:25 -07:00
Kyle Huey
f630c99382 Bug 1024898: Allow (most) nsBaseChannel subclasses to retarget OnDataAvailable to other threads. r=jduell,sworkman 2014-06-17 09:39:26 -07:00
Daniel Stenberg
43f0c8ec63 Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Nicholas Hurley
d9f98515e7 Bug 1025071 - Save header table space by not indexing :path r=mcmanus 2014-06-13 15:02:05 -07:00
Patrick McManus
93e8375c89 bug 1025075 - http2 CONNECT streams should have consistent priority r=hurley
---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
2014-06-13 09:29:00 -04:00
Ethan Tseng
c188ea781f Bug 1021890 - [RTSP] Compiler warning - character constant too long in RTSPConnectionHandler.h. r=sworkman 2014-06-10 15:36:46 +08:00
"Kan-Ru Chen (陳侃如)"
8f452f1067 Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
Jeff Muizelaar
4c4e0b3541 Bug 1022049. Switch to <intrin.h>. r=nfroyd
Instead of declaring these ourselves just use intrin.h
This has the advantage of allowing them to work with clang-cl

--HG--
extra : rebase_source : b78c756edb5dcdf1fd9127ad5e1a7ae183e72e3c
2014-06-09 17:26:55 -04:00
Patrick McManus
76f71eb35a bug 1022076 - http/2 explicit gzip for post h2-12 r=hurley
bug 1022076 - http/2 explicit gzip for post h2-12 r=hurley

--HG--
extra : rebase_source : 8603c97c9ed664520e748ebba405e6a1bce6b3e8
2014-06-06 19:18:00 -04:00
Patrick McManus
0a94a75f60 bug 1021396 - duplicate spdy syn_stream can hang necko thread r=hurley
bug 1021396 - duplicate spdy syn_stream can hang necko thread r=hurley

--HG--
extra : rebase_source : caf1ad18fced8e9c7ef78c1eccbfb2dec2d6181c
2014-06-06 11:18:00 -04:00
Patrick McManus
6e06b87dfa bug 1022195 - http2 allow indexing of cookie crumbs with decent entropy r=hurley
--HG--
extra : rebase_source : fb48d4aaf4d81007ac5532f493a87babb23257f7
2014-06-07 11:54:38 -04:00
Ryan VanderMeulen
1c927722c9 Merge m-c to b2g-inbound. a=merge 2014-06-06 17:34:22 -04:00
Ethan Tseng
1670d8871e Bug 1020379 - [RTSP] Fix trivial compile warnings. r=sworkman 2014-06-06 11:28:45 +08:00
Ethan Tseng
61104d2f51 Bug 1020379 - [RTSP] Fix potential infinite loop in ARTPConnection.cpp. r=sworkman 2014-06-06 10:59:47 +08:00
Nicholas Hurley
3c8da7e52c Bug 1019918 - Remove pushed stream from SpdyPushCache when cleaning it up. r=mcmanus
--HG--
extra : rebase_source : 2c1c23668adf041eb27c8f0509aebfbfab9497ca
2014-06-04 15:37:00 -04:00
Valentin Gosu
f26166e672 Bug 1006575 - Redirected iframe inserts 2 entries into resource timing buffer 2014-06-05 22:24:47 +03:00
Patrick McManus
b17f6374d4 bug 1003566 - part 1 - allowSTS attribute to nsIHttpChannel r=honzab 2014-06-04 09:57:15 -07:00
Nicholas Hurley
e4e5a0e568 Bug 1019921 - [http/2] Don't change to discarding padding state when all padding has been processed. r=mcmanus 2014-06-03 19:41:26 -07:00
Valentin Gosu
6633ae11f4 Bug 983243 - WSS WebSocket leaks TCP/IP connection if closed prematurely r=mcmanus
Prevent WebSocketChannel::OnTransportAvailable from reinitializing the channel's references after it has been closed.
2014-06-04 02:15:14 +03:00
Nicholas Hurley
53b38bf864 Bug 1019577 - Always make room in the table before emitting an entry. r=mcmanus 2014-06-03 13:09:08 -07:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
David Fifield
a5c112634b Bug 1017769 - Make the CONNECT Host header the same as the Request-URI. r=mcmanus
It's possible to construct a request where the Host header differs from
the authority in the URL, for example in an extension with
nsIHttpChannel and setRequestHeader. MakeConnectString generates a
host:port string for the CONNECT Request-Line, but peeks into the
tunneled request in order to copy the Host header to the proxy request.

Instead, use the same host:port string for Host as is used in the
Request-URI, to avoid revealing the plaintext of the Host header outside
of the tunnel.
2014-05-29 11:01:02 -07:00
Bob Owen
742337c540 Bug 985135 - When owner is a null principal, propagate to replacement channel on redirect. r=bz 2014-05-28 15:04:04 +01:00
Nicholas Hurley
c69ead23da Bug 1017692 - More logging for HPACK. r=mcmanus 2014-05-30 16:16:23 -07:00
Wes Kocher
51289d72ba Merge b2g-inbound to m-c 2014-05-29 17:44:25 -07:00
Ryan VanderMeulen
3dd20ce014 Merge m-c to b2g-inbound. 2014-05-29 14:36:11 -04:00
Honza Bambas
77f07df0e3 Bug 1017636 - Remove all conditional request headers when cache entry's sec-info or input fails to open. r=mcmanus 2014-05-29 19:42:33 +02:00
Ethan Tseng
29ee3c0241 Bug 1015169 - Cannot play RTSP streaming after reloading web page. r=vchang 2014-05-27 16:49:34 +08:00
Monica Chew
6fe994703a Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Patrick McManus
3ad35f2407 bug 1014589 - problem with https proxying and http pipelines r=hurley
--HG--
extra : rebase_source : 7c4f9f80d37102baa8951961d54b6ff842a19afb
2014-05-22 17:49:04 -04:00
Birunthan Mohanathas
085f40aff8 Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Carsten "Tomcat" Book
5f4bdd154a merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Ethan Tseng
a4ff778249 Bug 1009497 - Crash happened while device plays MP3 stream over RTSP. r=sworkman 2014-05-23 11:37:18 +08:00
Vincent Chang
331930e1bd Bug 1006484 - [RTSP][V2.0] Cannot replay RTSP streaming. r=sworkman 2014-05-22 10:11:38 +08:00
Carsten "Tomcat" Book
2b06f4758f merge b2g-inbound to mozilla-central 2014-05-22 15:21:43 +02:00
Wes Kocher
d8940fe139 Merge m-c to b2g-inbound 2014-05-21 20:38:07 -07:00
Birunthan Mohanathas
aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
189593520f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
a5ab25c973 Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Honza Bambas
76d3e0b447 Bug 779899 - Move nsHttpChannel::CreateNewURI to a different place in the file, r=mcmanus 2014-05-21 23:42:08 +02:00
Patrick McManus
4a968470a6 bug 1013934 - NS_ERROR_CORRUPTED_CONTENT should be a stream local error in http2 r=hurley 2014-05-21 14:09:48 -04:00
Patrick McManus
1e47ba1448 bug 1013623 - make nsHttpPipeline.mConnection a smart pointer r=hurley 2014-05-21 10:01:56 -04:00
Wes Kocher
4777505208 Merge m-c to inbound 2014-05-23 17:37:56 -07:00
Kyle Huey
8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Vincent Chang
78dd44da11 Bug 951278 - [RTSP][V1.3] The RTSP streaming always stops at the last 1st or 2nd second. r=sworkman 2014-03-18 14:30:51 +08:00
Honza Bambas
162eb32023 Bug 1017636 - Remove all conditional request headers when cache entry's sec-info or input fails to open, r=mcmanus, a=ryanvm on a CLOSED TREE 2014-05-29 19:42:33 +02:00
Doug Turner
da491f36e8 Bug 995430 - send header when user is signed into a children\'s account. r=mcmanus 2014-05-05 14:30:42 -07:00
Patrick McManus
eb93537c6c bug 1012827 - release https proxy connect serialization earlier r=hurley 2014-05-19 15:37:58 -04:00