Commit Graph

18 Commits

Author SHA1 Message Date
Kleissner
eb0ad540fe UDT: Finally fixing this piece of crap by rewriting the send logic. Close #58 2021-11-11 18:47:10 +01:00
Kleissner
014d4a34ee UDT: Fix in receiveLossHeap.Range 2021-11-08 19:26:53 +01:00
Kleissner
c44b05b9c1 UDT: Remove buggy EXP code. It caused wrong termination. It is not needed; the Peernet protocol handles connectivity. 2021-11-08 04:57:21 +01:00
Kleissner
f3d5f23cf9 Transfer: Record close reason of underlying library (UDT). This helps for debugging issues. Close #54 2021-11-08 04:40:53 +01:00
Kleissner
2924f0074d UDT: Redeveloped receiving code to fix the packet reassembly bugs. 2021-11-08 00:14:56 +01:00
Kleissner
0d62c215ee UDT: Fixing #43 #49 #51. File transfer works in test environment.
More tests needed for production testing. Internet MTU needs to be tested.
2021-11-05 03:19:29 +01:00
Kleissner
f76426aa48 UDT: Remove the datapacket_heap with the new heap code 2021-11-05 01:06:02 +01:00
Kleissner
8502cb15cf UDT: Fix the first piece of !@#$ heap code. Rewrite from scratch. 2021-11-05 00:41:06 +01:00
Kleissner
bfe2985149 UDT: Remove broken sentAck2. Always send ACK2 in response to an ACK. No need for artificial delay. 2021-11-04 23:43:18 +01:00
Kleissner
d0b5db9437 UDT: Removing light ACK. This reduces complexity. 2021-11-04 21:20:47 +01:00
Kleissner
cce68e9abe UDT: Fix packets being resent are not stored on the to-acknowledge list.
Add return statement in udtSocketSend.processDataMsg which was incorrectly removed with de9b67e751
2021-11-04 18:22:31 +01:00
Kleissner
de9b67e751 UDT: Minor refactor of udtSocketSend.processDataMsg 2021-11-03 21:07:43 +01:00
Kleissner
9ddca35277 Transfer: Set max packet size.
udt: Improve error messages. Fix bug in udtSocketSend.processDataMsg, the header was not considered in the max size.
webapi: New /file/view API which is useful for immediate testing of file transfer.
2021-10-28 04:06:10 +02:00
Kleissner
e476c7e40b UDT: Remove unnecessary shutdownEvent waiting in udtSocket.Close. permitLinger only allowed for server, unless closed by client. 2021-10-25 09:36:59 +02:00
Kleissner
7afc61edef UDT: Remove unnecessary and confusing sockShutdown. Elevate linger mode to full listen/send mode, which is necessary to combat the shutdown message race condition. Close #47 close #45 2021-10-25 09:12:33 +02:00
Kleissner
b0d71c2dc7 UDT: Fix critical bug in reevalSendState 2021-10-25 03:42:04 +02:00
Kleissner
153ca78ed7 UDT: Removing MTU in favor of MaxPacketSize. 2021-10-24 04:59:14 +02:00
Kleissner
75e3d9a42e Initial UDT implementation for file transfer.
New function RequestFileTransferUDT to download files from other peers.
2021-10-24 04:26:30 +02:00