Commit graph

3029 commits

Author SHA1 Message Date
humbletim
2139e979da map specific HTTP errors to corresponding ResourceRequest enums 2016-11-06 10:31:02 -05:00
Chris Collins
dc8d0bf31c Merge pull request #8935 from zzmp/log/silence-udt-socket
group udt::Socket errors as debug logs
2016-10-31 10:31:10 -07:00
Clément Brisset
95c175ae74 Merge pull request #8950 from huffman/tutorial/gotoentrystep
Add tutorial tracking for going through the welcome portal
2016-10-28 16:26:40 -07:00
Ryan Huffman
9a99cd0ec6 Add tutorialID and tutorialVersion to tutorial progress event 2016-10-28 12:53:16 -07:00
Stephen Birarda
7ddfddc567 make the socket readyRead check fire after 2s of no packets 2016-10-28 10:30:20 -07:00
Stephen Birarda
20f042a15a add slightly more information to last packet debug in Socket 2016-10-27 22:10:32 -07:00
Stephen Birarda
db7f5724f7 output last seq number and last socket before readyRead sticks 2016-10-27 21:50:29 -07:00
Zach Pomerantz
72282257bd group udt::Socket errors as debug logs 2016-10-27 13:45:58 -07:00
Stephen Birarda
4abc4adde9 add a timer to check for readyRead backup 2016-10-26 16:18:12 -07:00
Chris Collins
de419c2818 Merge pull request #8912 from Atlante45/nodelist-race
Fix potential race in NodeList
2016-10-26 13:00:05 -07:00
Brad Hefta-Gaub
2fa4f53c4c Merge pull request #8915 from highfidelity/stable
Stable to master
2016-10-25 18:52:29 -07:00
Stephen Birarda
b16f5a4752 include BuildInfo for USE_STABLE_GLOBAL_SERVICES 2016-10-25 17:42:12 -07:00
Atlante45
384f3d9321 Fix potential race in NodeList 2016-10-25 16:58:21 -07:00
Brad Hefta-Gaub
4aa96c9acc add location and build info to user activity stats 2016-10-25 15:48:03 -07:00
Brad Hefta-Gaub
272055b6ee add location and build info to user activity stats 2016-10-25 14:19:44 -07:00
Stephen Birarda
b753871fc1 don't change DF or buffer sizes for ice-server 2016-10-25 11:20:10 -07:00
David Kelly
bdcb58bf8b Merge pull request #8847 from sethalves/fix-audio-mixer-data-race-1
fix some data-races in logging system
2016-10-21 15:33:40 -07:00
Chris Collins
8481d0baa5 Merge pull request #8872 from birarda/master
always go to dev welcome when not using stable services
2016-10-21 06:16:26 -07:00
Clément Brisset
b63eb6ba9f Merge pull request #8665 from zzmp/feat/audio-stats
move audio stats to QML/JS, with graphs
2016-10-20 16:43:49 -07:00
Stephen Birarda
5886996bc3 always go to dev-welcome when not using stable services 2016-10-20 16:29:40 -07:00
Seth Alves
8ac799ddaf Merge branch 'master' of github.com:highfidelity/hifi into fix-audio-mixer-data-race-1 2016-10-20 10:02:58 -07:00
Chris Collins
98e7d6d0eb Merge pull request #8843 from sethalves/fix-audio-mixer-data-race-0
Fix some audio mixer data races
2016-10-20 10:01:26 -07:00
Brad Hefta-Gaub
6109f41ae2 Merge pull request #8859 from Atlante45/seq-num-race
Fix sequence number race condition
2016-10-20 08:26:31 -07:00
Brad Hefta-Gaub
00d613a60e Merge pull request #8848 from sethalves/quiet-compiler
quiet warnings in Linux build
2016-10-19 17:41:19 -07:00
Atlante45
bc8554fd90 Fix sequence number race condition 2016-10-19 13:31:00 -07:00
Stephen Birarda
eb8f67b612 cleanup asset file regex, comment in renameMapping 2016-10-19 11:47:57 -07:00
Stephen Birarda
7aac2e6916 restrict asset file mapping operations to file path 2016-10-19 10:57:23 -07:00
Seth Alves
b936252609 quiet compiler 2016-10-18 17:56:57 -07:00
Seth Alves
a801f27c7c Merge branch 'fix-audio-mixer-data-race-0' of github.com:sethalves/hifi into fix-audio-mixer-data-race-1 2016-10-18 17:34:22 -07:00
Seth Alves
72998b190c Merge branch 'master' of github.com:highfidelity/hifi into fix-audio-mixer-data-race-0 2016-10-18 17:33:57 -07:00
Stephen Birarda
22e0e649b1 add a comment for ack count calculations 2016-10-18 16:16:09 -07:00
Stephen Birarda
5bd6cc9fac fix comparison for reno slow start 2016-10-18 16:01:35 -07:00
Seth Alves
af5be8d1d9 reduce data-races in logging 2016-10-18 15:59:00 -07:00
Stephen Birarda
ddce913095 cleanup math for leftover ACKs 2016-10-18 15:54:25 -07:00
Stephen Birarda
214d2e4c91 break slow start on vegas timeout loss 2016-10-18 15:54:25 -07:00
Stephen Birarda
71de9701e0 add some additional comments to reno congestion avoidance 2016-10-18 15:54:25 -07:00
Stephen Birarda
974cccf519 cleanup initialization of min RTT member variables 2016-10-18 15:54:25 -07:00
Stephen Birarda
b817e72976 comment clarity and readability improvements 2016-10-18 15:54:25 -07:00
Stephen Birarda
d5a450ad30 add comment about Jacobson's formula for RTT estimation 2016-10-18 15:54:25 -07:00
Stephen Birarda
1041443796 use __FUNCTION__ and clearup zero us RTT comment 2016-10-18 15:54:25 -07:00
Stephen Birarda
13c38760b3 switch to wireSize, use time only, remove double public 2016-10-18 15:54:25 -07:00
Stephen Birarda
7567cff590 fix comment for ACK interval of 1 2016-10-18 15:54:25 -07:00
Stephen Birarda
41d48b12bd add a comment clearing up onACK return 2016-10-18 15:54:25 -07:00
Stephen Birarda
7480d1e45d switch default hifi address back to welcome 2016-10-18 15:54:25 -07:00
Stephen Birarda
9407efbbc5 protect against an overflow in TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
7ef596a9f0 use ova-welcome for default hifi address 2016-10-18 15:54:25 -07:00
Stephen Birarda
ef660722cd force duplicated sends to use highest RTT, not lowest 2016-10-18 15:54:25 -07:00
Stephen Birarda
d15cb6171d fix bubble up of duplicated packet info 2016-10-18 15:54:25 -07:00
Stephen Birarda
0a7d799abf don't double set _lastACK in TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
fdcface8cb use enum in PacketHeaders, coding standard fixes in Connection 2016-10-18 15:54:25 -07:00
Stephen Birarda
e7c0ed035f remove SendQueue fast re-transmit debug 2016-10-18 15:54:25 -07:00
Stephen Birarda
6d69a0dc71 push version for asset packets to mismatch for TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
af969231e7 remove some extra lines 2016-10-18 15:54:25 -07:00
Stephen Birarda
54b28e646a remove congestion window halving on reno dupe loss 2016-10-18 15:54:25 -07:00
Stephen Birarda
ec51f01c59 remove debugs from TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
a075bb6b1c slow down new UDT debug for asset-server tests 2016-10-18 15:54:25 -07:00
Stephen Birarda
b03bb6b73f halve the congestion window on 3rd duplicate ACK 2016-10-18 15:54:25 -07:00
Stephen Birarda
b74a967c95 fix an additional reference to preAIWindowSize 2016-10-18 15:54:25 -07:00
Stephen Birarda
d05e3e1dd6 drop CWS to 2 if reno fast re-transmit is hit 2016-10-18 15:54:25 -07:00
Stephen Birarda
64a0239248 add reno fallback for fast re-transmit 2016-10-18 15:54:25 -07:00
Stephen Birarda
0b2e0a4167 initial re-implementation of reno cong avoid 2016-10-18 15:54:25 -07:00
Stephen Birarda
dbbdda3468 keep track of num RTT and debug reno fallback 2016-10-18 15:54:25 -07:00
Atlante45
2c026d7b0f Disable packet probes 2016-10-18 15:54:25 -07:00
Atlante45
202641a349 Debug tweaks 2016-10-18 15:54:25 -07:00
Stephen Birarda
5174891b66 move receive time of packet higher in Socket 2016-10-18 15:54:25 -07:00
Stephen Birarda
afc59eea19 grab earliest possible receive time in socket 2016-10-18 15:54:25 -07:00
Stephen Birarda
6a3dd15887 emit packetSent signal immediately after send 2016-10-18 15:54:25 -07:00
Stephen Birarda
b0192df04f allow congestion control to disable ACK2 2016-10-18 15:54:25 -07:00
Atlante45
3d0f449afb Ignore ack syn when using vegas 2016-10-18 15:54:25 -07:00
Stephen Birarda
9760fdc906 use MAX_PACKETS_IN_FLIGHT as receiver max flow window 2016-10-18 15:54:25 -07:00
Stephen Birarda
5ffbd2d11e start num ACKs since FRT to 3 2016-10-18 15:54:25 -07:00
Stephen Birarda
456bcbca67 use max and not min for CW clamp 2016-10-18 15:54:25 -07:00
Stephen Birarda
c0219d9ddf remove numRTT from TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
995f383edb default EWMA RTT and variance to first value 2016-10-18 15:54:25 -07:00
Atlante45
f0dcc54a18 Start in slow start 2016-10-18 15:54:25 -07:00
Atlante45
f143e9bf3f Register SequenceNumber and time_point 2016-10-18 15:54:25 -07:00
Stephen Birarda
7731b407bd only attempt SQ sleep with > 0 PSP 2016-10-18 15:54:25 -07:00
Stephen Birarda
3ecfd6af67 added debug for fast re-transmit 2016-10-18 15:54:25 -07:00
Stephen Birarda
c794c4af1a adjust EWMA RTT start values in TCPVegasCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
96ef1fa483 add FRT debug 2016-10-18 15:54:25 -07:00
Stephen Birarda
7cc1f3261e use last adjustment time to adjust every RTT 2016-10-18 15:54:25 -07:00
Stephen Birarda
0d2e83e0fc cleanup according to Vegas paper, add fast retransmit 2016-10-18 15:54:25 -07:00
Stephen Birarda
ecbba3d4cd send time point with packet sent signal 2016-10-18 15:54:25 -07:00
Atlante45
75d4b156f1 Added shouldNAK to CC class 2016-10-18 15:54:25 -07:00
Atlante45
eee617e39c Remove congestion window size clamp 2016-10-18 15:54:25 -07:00
Stephen Birarda
0954d5bf93 cleanup sent packet time hash after RTT calc 2016-10-18 15:54:25 -07:00
Stephen Birarda
8e05a2893a change congestion window size to an int 2016-10-18 15:54:25 -07:00
Stephen Birarda
5e637c31de rename congestion window size var in TCPRenoCC 2016-10-18 15:54:25 -07:00
Stephen Birarda
b232a44c8d don't send sync ACK when interval is == 1 2016-10-18 15:54:25 -07:00
Stephen Birarda
69ca0d2675 point TCPVegasCC at correct TCPRenoCC base 2016-10-18 15:54:25 -07:00
Stephen Birarda
8c9b46c1e0 fix method signatures, adjust ssthresh increases 2016-10-18 15:54:25 -07:00
Stephen Birarda
eb180b15d8 only raise ssthresh if not reducing cwnd 2016-10-18 15:54:25 -07:00
Stephen Birarda
8304bb81d1 create the base of the TCPVegasCC class 2016-10-18 15:54:25 -07:00
Atlante45
59bcd724ea More Reno work 2016-10-18 15:54:25 -07:00
Atlante45
bad96d54ea TCP congestion control first draft 2016-10-18 15:54:25 -07:00
Seth Alves
21ccc58e04 don't pass statsObject by reference 2016-10-18 14:41:33 -07:00
Seth Alves
0c6dedff45 avoid various data-races related to stats collection and delivery 2016-10-18 13:05:53 -07:00
Seth Alves
0cda01f105 send stats to domain-server with networking thread 2016-10-18 10:29:35 -07:00
Atlante45
3955c6c4c6 Don't override place name path with index path 2016-10-17 14:41:05 -07:00
Chris Collins
1c30d98cf9 Merge pull request #8823 from ZappoMan/shutdownSandbox
Auto-shutdown of sandbox if it was launched by interface
2016-10-17 13:20:15 -07:00
Brad Hefta-Gaub
d46170bec0 auto shutdown of sandbox when interface quits 2016-10-17 07:55:24 -07:00
Stephen Birarda
d1cd99e035 remove a useless two dots 2016-10-14 18:24:39 -07:00
Stephen Birarda
9184a500a0 move faked handshake logic to Socket for handshake req flag 2016-10-14 14:46:58 -07:00
Stephen Birarda
ccbfdf7bb9 only emit client connection reset on requested handshake 2016-10-14 14:46:58 -07:00
Stephen Birarda
eb77258c55 fix magic numbers and hide sendFakedHandshake 2016-10-14 14:46:58 -07:00
Stephen Birarda
5e03e55ca2 fix for dual alias in LimitedNodeList std::bind 2016-10-14 14:46:58 -07:00
Stephen Birarda
a2de31909c remove define of UDT connection debug 2016-10-14 14:46:58 -07:00
Stephen Birarda
b81eaa649f make faked handshake request usable in dev/PR 2016-10-14 14:46:58 -07:00
Stephen Birarda
ea2da34bd1 bubble up receiver handshake from udt::Connection 2016-10-14 14:46:58 -07:00
Stephen Birarda
27617b8479 add forced kill of AS for test 2016-10-14 14:46:58 -07:00
Stephen Birarda
5704335b66 add quick fails for no active socket to other AssetClient calls 2016-10-14 14:46:58 -07:00
Stephen Birarda
055df48e8d make the asset server a solo node type 2016-10-14 14:46:58 -07:00
Stephen Birarda
7fd25ae450 fix returns for missing active socket in LNL 2016-10-14 14:46:58 -07:00
Stephen Birarda
3c70a25a40 immediately error in AssetClient if no active socket for AS 2016-10-14 14:46:58 -07:00
Stephen Birarda
ca94fbc219 refuse to send packets if connection should not be created 2016-10-14 14:46:58 -07:00
Stephen Birarda
f41188b0e8 default last receiver response in send queue to queue creation time 2016-10-14 14:46:58 -07:00
Stephen Birarda
5562d7e7a6 add a filter operator to decide if connections are created 2016-10-14 14:46:58 -07:00
Ryan Huffman
6cf4802cc2 Change default hifi address from dev-welcome to welcome 2016-10-13 16:06:07 -07:00
Ryan Downe Karpf
397816679d Merge pull request #8790 from huffman/feat/reliable-path-queries
Update ds path queries to be reliable
2016-10-13 09:21:44 -07:00
Ryan Huffman
a44653db57 Update ds path queries to be reliable 2016-10-12 10:47:42 -07:00
Atlante45
eaca3b672f Switch to JSON for application settings 2016-10-12 10:20:19 -07:00
Stephen Birarda
33e426bfd2 Merge pull request #8778 from Atlante45/asset-client
Fix crash in AssetClient handleProgressCallback
2016-10-11 18:36:23 -07:00
Stephen Birarda
504e92607a change format of debug message 2016-10-11 13:23:52 -07:00
Stephen Birarda
20ea7e6c98 change QLoggingCategory include casing 2016-10-11 13:21:53 -07:00
Stephen Birarda
07d0a038a5 set the initial last progress debug 5s back 2016-10-11 13:21:15 -07:00
Stephen Birarda
a0c27e2130 remove timer forced timeouts in ARR, occasionally ouput DL progress 2016-10-11 13:17:57 -07:00
Atlante45
e7e9c71625 Fix AssetClient crash
Do not access message data until message is complete
2016-10-11 13:05:57 -07:00
Stephen Birarda
826c2f1a9f push the AssetResourceRequest timeout to 15s 2016-10-11 09:55:16 -07:00
Stephen Birarda
ec5850b82b emit ReceivedMessage progress signals more frequently for new timeout 2016-10-11 09:55:05 -07:00
Ryan Huffman
408cc1cd04 Update default hifi address to dev-welcome 2016-10-07 10:30:18 -07:00
Ryan Huffman
9c6eae36a7 Update tutorial progress keys 2016-10-07 10:30:18 -07:00
Ryan Huffman
e24a01d1fe Add path parameter to goToSandbox 2016-10-07 10:30:18 -07:00
Ryan Huffman
4efeb928e2 Add user activity logging to tutorial 2016-10-07 10:30:18 -07:00
Ryan Huffman
4171fdd2e1 Remove extraneous log line from AssetRequest 2016-10-05 19:27:24 -07:00
Ryan Huffman
17a1f9b5ae Make timer child of QObject instead of attaching to destroyed 2016-10-05 19:25:17 -07:00
Ryan Huffman
bba5a7563f Remove extraneous logging 2016-10-05 19:25:03 -07:00
Ryan Huffman
ca4022814e Add extra logging to asset client 2016-10-04 16:43:13 -07:00
Ryan Huffman
1fff480b73 Add timeout to AssetResourceRequest 2016-10-04 16:43:12 -07:00
Atlante45
573d5898cc Make static control packets class members 2016-10-03 13:46:55 -07:00
Thijs Wenker
4f7fdfc345 eliminated else, this might look cleaner 2016-09-30 03:31:35 +02:00
Thijs Wenker
5025b4a5ed NodeList set the sessionUUID before emitting the connectedToDomain signal 2016-09-29 22:15:53 +02:00
Zach Pomerantz
aacfa7d6c5 back out AudioVersion::CurrentVersion 2016-09-27 10:41:00 -07:00
Zach Pomerantz
b9c4018b8e expose AudioStats to qml/js 2016-09-26 15:35:29 -07:00
Brad Davis
f33d3a3b36 Migrate logging functionality to shared library 2016-09-23 12:04:58 -07:00
Seth Alves
c43c83019d Merge branch 'master' of github.com:highfidelity/hifi into ice-troubles 2016-09-22 10:34:25 -07:00
Brad Hefta-Gaub
5d3d4bdbd9 add support for redirection on domain at max capacity 2016-09-21 18:12:38 -07:00
Seth Alves
2e0cc158de ice test-client uses stun server to get public address 2016-09-16 17:21:28 -07:00
Seth Alves
babe8f95bc tool for testing ice-server 2016-09-16 13:34:05 -07:00
Seth Alves
4470338663 catagorize some qDebugs 2016-09-14 21:39:45 -07:00
Brad Hefta-Gaub
3d54600843 Merge pull request #8513 from Atlante45/feat/network-port
Add settings to change local port
2016-09-08 18:10:32 -07:00