Commit Graph

55 Commits

Author SHA1 Message Date
Jessica Jong
0fdefc07fa Bug 1167132 - Part 13: [NetworkManager] Move network information into a separate interface (Necko/NetStats). r=ethan 2015-07-29 02:14:00 -04:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Michal Novotny
a6a468184b Bug 1170645 - Intermittent crash in mozilla::net::nsWSAdmissionManager::RemoveFromQueue(mozilla::net::WebSocketChannel*), r=mcmanus 2015-06-21 14:37:36 +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
9728a3ac59 Bug 1152334 - StartWebsocketData null deref mSocketIn, r=bagder 2015-05-11 08:12:19 +02: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
Ethan Tseng
a84f1903a5 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08: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
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
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
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
Patrick McManus
a25a51a448 bug 751465 - websockets dns and proxies r=jduell r=bsmedberg 2014-01-06 13:52:42 -05:00
John Shih
54ca9a228c Bug 940740 - Make sure do_GetService called in mainthread. r=mcmanus 2013-12-13 16:33:46 +08: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
Ryan VanderMeulen
8003e6385e Backed out changeset f3c4d03ad677 (bug 922924) for bustage. 2013-11-15 08:32:23 -05:00
John Shih
7b09955c1b Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Albert Crespell
81415891ff Bug 887699 - Part 3/4 Fix access of websocket channel and TCPSocket to NetworkStats API. r=jduell,gene 2013-10-11 08:54:34 +02:00
Ryan VanderMeulen
9b92772f9f Backed out 4 changesets (bug 887699).
Backed out changeset 5c878c48d732 (bug 887699)
Backed out changeset 57b03d7055e8 (bug 887699)
Backed out changeset ea06175feb4f (bug 887699)
Backed out changeset 516d0f14f7fd (bug 887699)
2013-10-16 17:12:54 -04:00
Albert Crespell
4143c42c91 Bug 887699 - Part 3: Fix access of websocket channel and TCPSocket to NetworkStats API. r=jduell, r=gene 2013-10-11 08:54:34 +02:00
Ehsan Akhgari
deb5a6a21b Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Ed Morley
66a207387f Merge latest green inbound changeset and mozilla-central 2013-09-20 10:18:21 +01:00
John Shih
92cd53dfaf Bug 855949 - Network Per-App Metering on WebSocket. r=mcmanus 2013-09-12 11:39:14 +08:00
Birunthan Mohanathas
935a9d49ef Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan 2013-09-19 15:29:27 -04:00
Valentin Gosu
c909a300cb Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Joshua Cranmer
2bde801f36 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus 2013-07-18 21:24:13 -05:00
Jason Duell
765b359bfa Bug 849364 - Provide per-websocket way to enable keepalive pings. r=mcmanus 2013-03-28 15:52:16 -07:00
Valentin Gosu
97b3e6078a Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
4ff3d565bd bug 805457 telemetry for proxy and websocket connections r=jduell 2012-10-27 15:24:19 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jason Duell
1c2bf62981 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
88a2950354 Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Jason Duell
c97c3accd4 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
50a28c6d44 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick McManus
4a1bdd64df bug 738914 - orange websocket pipeline::isdone from main thread r=jduell 2012-04-25 22:02:12 -04:00
Jason Duell
50f9fd9d6d Bug 701383: Websocket fails to delete mOutGoingMessage if closed multiple times. r=mcmanus 2012-01-31 20:41:47 -08:00
Jason Duell
5f566ddb8b Bug 711205: Increase inbound WebSocket message size from 16MB to whatever malloc can handle. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
6aa7da119d Bug 676439 - Websocket Binary Message support: Necko changes. r=mcmanus 2011-12-15 15:20:17 -08:00
Wellington Fernando de Macedo
f7a75c866e Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Jason Duell
cc8d9f9693 bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
f3c7f94274 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Patrick McManus
8a11c14206 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz 2011-08-03 15:15:25 -04:00