Ryan Huffman
|
fc80745c08
|
Update message handling to use insertion sort
|
2015-08-30 20:03:15 -07:00 |
|
Stephen Birarda
|
b81f996366
|
add network logging to SendQueue, fix ctor order
|
2015-08-29 14:38:07 -07:00 |
|
Stephen Birarda
|
e67a3e8541
|
use define to hide verbose connection debugging
|
2015-08-29 14:36:46 -07:00 |
|
Stephen Birarda
|
2b0b883db2
|
remove debug for writeReliablePacket invoke
|
2015-08-29 14:28:50 -07:00 |
|
Stephen Birarda
|
71ff855d86
|
add connection cleanup that respects send/receive
|
2015-08-29 14:28:24 -07:00 |
|
Stephen Birarda
|
d16894d2c5
|
Merge branch 'protocol' of github.com:birarda/hifi into atp
|
2015-08-28 16:41:49 -07:00 |
|
Stephen Birarda
|
441a5d34bf
|
don't go inactive in sync
|
2015-08-28 16:36:07 -07:00 |
|
Stephen Birarda
|
42105dfc33
|
replace mutexes with invoked methods in Socket
|
2015-08-28 16:34:24 -07:00 |
|
Stephen Birarda
|
20d1244db4
|
use a write lock for sync so it can be recursive
|
2015-08-28 15:17:44 -07:00 |
|
Stephen Birarda
|
abffc0317b
|
expire the connection if it is 16 timeouts since data
|
2015-08-28 15:07:07 -07:00 |
|
Stephen Birarda
|
d6310da8c8
|
consider handshake ACK not received on send queue stop
|
2015-08-28 15:01:03 -07:00 |
|
Stephen Birarda
|
ee203dbe45
|
fix check after mutex creation
|
2015-08-28 14:57:22 -07:00 |
|
Stephen Birarda
|
a30bc79dd5
|
guard send queue creation with a mutex
|
2015-08-28 14:55:25 -07:00 |
|
Stephen Birarda
|
1e09321b1a
|
avoid creating multiple send queues from connection
|
2015-08-28 14:49:27 -07:00 |
|
Stephen Birarda
|
d1386fcb14
|
Merge branch 'upload-task' into atp
|
2015-08-28 14:19:30 -07:00 |
|
Stephen Birarda
|
b7d0aa062a
|
repairs to cleanup of send queue
|
2015-08-28 14:19:20 -07:00 |
|
Stephen Birarda
|
b9d1f39c65
|
remove include in SendQueue that is unneeded
|
2015-08-28 12:36:48 -07:00 |
|
Stephen Birarda
|
058a3c422b
|
re-remove the flow window full variable
|
2015-08-28 11:32:17 -07:00 |
|
Stephen Birarda
|
f2cb85ab09
|
add missing break to switch for LightACK
|
2015-08-28 11:16:05 -07:00 |
|
Stephen Birarda
|
3f85e8a2fe
|
add an UploadAssetTask so uploading is on diff thread
|
2015-08-28 11:12:52 -07:00 |
|
Ryan Huffman
|
c6d98f3c67
|
Update ResourceCache to retry an asset request when the node is unavailable
|
2015-08-28 10:59:38 -07:00 |
|
Stephen Birarda
|
9575b47e4e
|
don't unlock double lock outside conditional
|
2015-08-28 10:38:15 -07:00 |
|
Stephen Birarda
|
54cd430be9
|
unlock if double lock succeeds but queues not empty
|
2015-08-28 10:35:29 -07:00 |
|
Stephen Birarda
|
ac3a1d54b1
|
don't lock in while for maybeResendPacket
|
2015-08-28 10:07:01 -07:00 |
|
Stephen Birarda
|
d66375bb09
|
fix queue timeout for empty queue
|
2015-08-28 09:54:51 -07:00 |
|
Stephen Birarda
|
577b6bf62f
|
correct the check for flow window size
|
2015-08-28 09:52:33 -07:00 |
|
Stephen Birarda
|
e662209754
|
use a QMutex instead of QReadWriteMutex
|
2015-08-28 09:48:55 -07:00 |
|
Stephen Birarda
|
dcd5a4aec2
|
address comments in code review
|
2015-08-28 09:47:25 -07:00 |
|
Stephen Birarda
|
21c80e45c2
|
guard connection addition by a mutex in Socket
|
2015-08-28 09:42:52 -07:00 |
|
Stephen Birarda
|
539108dd45
|
repairs for new timeout code
|
2015-08-28 09:26:32 -07:00 |
|
Stephen Birarda
|
0b712eef55
|
Merge branch 'protocol' of github.com:birarda/hifi into atp
|
2015-08-28 09:10:12 -07:00 |
|
Stephen Birarda
|
77aeae7dc0
|
change to timeout behaviour to re-send unACKed packets
|
2015-08-28 09:10:06 -07:00 |
|
Stephen Birarda
|
cf98d4a8f7
|
add a control packet type for LightACK
|
2015-08-28 07:31:44 -07:00 |
|
Atlante45
|
12fdec232b
|
CR
|
2015-08-28 16:31:02 +02:00 |
|
Atlante45
|
ea05fcea0c
|
Forward AssetResourceRequest loading errors
|
2015-08-28 16:03:31 +02:00 |
|
Stephen Birarda
|
d908cd4a53
|
use NotStarted instead of Unsent, return NotFound for Files
|
2015-08-28 06:35:02 -07:00 |
|
Ryan Huffman
|
a7294eb0e5
|
Add AccessDenied error for failure to open File in FileResourceRequest
|
2015-08-27 22:48:15 -07:00 |
|
Ryan Huffman
|
2a4b25dd76
|
Update names of ResourceRequest enums
|
2015-08-27 22:23:06 -07:00 |
|
Stephen Birarda
|
341e27fecc
|
unlock mutexes before calling notify
|
2015-08-27 22:02:08 -07:00 |
|
Stephen Birarda
|
98888a36a3
|
use const ref where appropriate for asset classes
|
2015-08-27 21:33:37 -07:00 |
|
Stephen Birarda
|
111abac0f1
|
Merge pull request #30 from huffman/cache-limit
Update ResourceCache to only emit failure when not retrying
|
2015-08-27 21:17:16 -07:00 |
|
Ryan Huffman
|
147fbd4b54
|
Update ResourceCache to only emit failure when not retrying
|
2015-08-27 21:11:12 -07:00 |
|
Stephen Birarda
|
5fc09a68a8
|
add an assert that enqueued packet is part of message
|
2015-08-27 17:24:57 -07:00 |
|
Stephen Birarda
|
33dc65a00a
|
fix for return of processable packets
|
2015-08-27 17:09:47 -07:00 |
|
Stephen Birarda
|
8ebcb03b2b
|
don't process duplicate or pre-handshake packets
|
2015-08-27 16:55:13 -07:00 |
|
Ryan Huffman
|
4bbbd892bd
|
Fix atp scheme checking in ResourceCache
|
2015-08-27 16:46:33 -07:00 |
|
Ryan Huffman
|
31bdeed396
|
Remove cache limit for atp urls
|
2015-08-27 16:43:40 -07:00 |
|
Stephen Birarda
|
8ee27bca2b
|
remove urlAsString from Model
|
2015-08-27 16:00:21 -07:00 |
|
Stephen Birarda
|
413ec718de
|
fix max pairs for timeout NAK
|
2015-08-27 15:22:53 -07:00 |
|
Stephen Birarda
|
8eeb808572
|
Merge branch 'protocol' of github.com:birarda/hifi into asset-hash
|
2015-08-27 15:16:41 -07:00 |
|