Commit Graph

128 Commits

Author SHA1 Message Date
Wes Kocher
f418993d89 Backed out 5 changesets (bug 1171716) for android bustage
Backed out changeset 4986f8464f9c (bug 1171716)
Backed out changeset bc8405b07d10 (bug 1171716)
Backed out changeset 10e18e494630 (bug 1171716)
Backed out changeset be499a3cae5d (bug 1171716)
Backed out changeset f75717d3eba0 (bug 1171716)
2015-06-09 18:48:37 -07:00
Eric Rahm
c98bf1c944 Bug 1171716 - Part 3: Use NS_ReleaseOnMainThread in WebSocketChannel dtor. r=froydnj 2015-06-09 18:25:46 -07:00
Michal Novotny
eeb57f1c88 Bug 1168221 - Assertion failure: !mDataStarted, r=hurley 2015-05-29 23:28:54 +02:00
Michal Novotny
54a0356554 Bug 1159280 - TSan: data race netwerk/protocol/websocket/WebSocketChannel.cpp:3156 WebSocketChannel::Close, r=mcmanus 2015-05-23 10:07:01 +02:00
Michal Novotny
855e3cda69 Bug 1152047 - mozilla::net::nsWSAdmissionManager::GetSessionCount may deadlock during shutdown, r=mcmanus 2015-05-19 11:35:33 +02:00
Michal Novotny
9728a3ac59 Bug 1152334 - StartWebsocketData null deref mSocketIn, r=bagder 2015-05-11 08:12:19 +02:00
theoneisneo
2dfc1176eb Bug 1149872 - Add the missing format specifiers. r=jduell 2015-04-02 01:56:00 -04:00
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Mike Hommey
44945d9d4c Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

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

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
bbbfdd3932 Bug 1140765 - Build some network code in unified mode; r=mcmanus 2015-03-08 15:46:38 -04:00
Christoph Kerschbaumer
afd12b01d1 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman) 2015-02-17 10:09:31 -08:00
Ryan VanderMeulen
3322287d49 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ethan Tseng
a84f1903a5 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Mike Hommey
715db83e04 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Arthur Edelstein
a68e31a789 Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Andrea Marchesini
81c032a7f2 Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
CLOSED TREE
2015-01-13 14:03:56 -05:00
Ehsan Akhgari
7943855e34 Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Michal Novotny
4c7294112e Bug 792831 - WebSocket permessage compression extension, r=jduell 2014-12-29 12:43:40 +01:00
Patrick McManus
ad2b489529 bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Ehsan Akhgari
d0117d111e Bug 1109697 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-12-10 17:49:42 -05:00
Andrea Marchesini
f1806a3a62 Bug 1090170 - WebSocketChannel must remove itsself as observer when disconnected, r=bagder 2014-10-28 14:49:57 +00:00
Andrea Marchesini
df56466e2e Bug 504553 - patch 3 - WebSockes in Workers: Workers supported, r=smaug 2014-10-10 17:58:05 +01:00
Andrea Marchesini
52dce68b24 Bug 504553 - patch 2 - WebSockes in Workers: WebSocketImpl, thread-safe class, r=smaug 2014-10-10 17:56:43 +01:00
Steve Workman
b5e87b7edb Bug 504553 - Patch 1 - WebSockets in Workers: Dispatch WebSocketChannel::StartWebsocketConnect to target thread, r=jduell 2014-04-17 11:53:58 -07:00
Christoph Kerschbaumer
efa4d58cc6 Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell) 2014-09-25 07:23:27 -07:00
Daniel Stenberg
c7bba4cdd5 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
Ed Morley
40d5105263 Backed out changeset a7f522902e40 (bug 939318) 2014-09-24 16:17:23 +01:00
Daniel Stenberg
521e81a9f1 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
Christoph Kerschbaumer
3308d36c58 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Patrick McManus
84130e4e9e bug 1041272 - websockets partial last frame stall r=jduell 2014-07-25 20:37:02 -04:00
Patrick McManus
77d41a856d bug 1038304 - websockets offline hang r=sworkman 2014-07-17 11:56:38 -04:00
Valentin Gosu
30d2c4400c 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
Birunthan Mohanathas
cc3389eabe Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
7c5f901fae Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
John Shih
fabd6c4473 Bug 949956 - Move duplicated code to NetStatistics.h. r=mcmanus 2014-01-14 17:55:29 +08:00
Steve Workman
03596e3798 Bug 925623 - Support delivery of WebSocket events off-main-thread in WebSocketChannel r=jduell 2014-03-27 13:58:19 -07:00
Jason Duell
79a07094a9 Bug 936979: websocket will never connected after a lot of failure r=mcmanus 2014-01-22 19:04:18 -08:00
L. David Baron
ad4b6f2410 Bug 783133: Remove NS_ABORT_IF_FALSE that fires somewhat regularly, which happens in a case that is correctly handled. r=mcmanus 2014-01-10 15:32:32 -08:00
Patrick McManus
a25a51a448 bug 751465 - websockets dns and proxies r=jduell r=bsmedberg 2014-01-06 13:52:42 -05:00
John Shih
052cca8a7a Bug 922926 - Part 3: Rebase code in necko. r=mcmanus 2013-11-22 10:42:11 +08:00
John Shih
54ca9a228c Bug 940740 - Make sure do_GetService called in mainthread. r=mcmanus 2013-12-13 16:33:46 +08:00
Jeff Walden
8ea67cb330 Bug 945533 - Convert various websocket code to mozilla/Endian.h. r=jduell 2013-05-04 22:22:55 -07:00
John Shih
2ddb040633 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
6403dde2ee Backed out changeset 5d4d19ebcd70 (bug 922924) for B2G debug bustage. 2013-11-18 14:21:24 -05:00
John Shih
321c7da44b Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00