Compare commits

...

5 Commits

Author SHA1 Message Date
Mark Qvist
c972ef90c8 Updated manual 2023-11-06 11:21:32 +01:00
Mark Qvist
19a74e3130 Updated changelog 2023-11-06 11:21:23 +01:00
Mark Qvist
5ba789f782 Updated single-packet timing 2023-11-06 11:10:38 +01:00
Mark Qvist
58b5501e17 Cleanup 2023-11-06 11:08:31 +01:00
Mark Qvist
b584832b8f Fixed logging error messages when a local client connects while instance is starting up 2023-11-06 11:06:14 +01:00
6 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,19 @@
### 2023-11-06: RNS β 0.6.7
This maintenance release improves tranport performance and fixes a logging bug.
**Changes**
- Improved local and remote transport performance by approximately 6x on faster links
**Bugfixes**
- Fixed logging an error message when local clients connect while shared instance is still starting up
**Release Hashes**
```
c37dd1f59e037841f69ec518deecdae6719f978947de2473f04e7d95247805ac rns-0.6.7-py3-none-any.whl
1e2dcb44ec7271a4d26180db138fc54dce6d0d3cf3f816432d4d6a4b1cf83868 rnspure-0.6.7-py3-none-any.whl
```
### 2023-11-04: RNS β 0.6.6
This maintenance release improves transfers over unreliable links and fixes a bug in requests.

View File

@ -272,6 +272,7 @@ class LocalClientInterface(Interface):
RNS.Transport.local_client_interfaces.remove(self)
if hasattr(self, "parent_interface") and self.parent_interface != None:
self.parent_interface.clients -= 1
if hasattr(RNS.Transport, "owner") and RNS.Transport.owner != None:
RNS.Transport.owner._should_persist_data()
if nowarning == False:

View File

@ -168,10 +168,7 @@ class Resource:
resource.hashmap = [None] * resource.total_parts
resource.hashmap_height = 0
resource.waiting_for_hmu = False
resource.receiving_part = False
# TODO: Recheck
resource.consecutive_completed_height = -1
if not resource.link.has_incoming_resource(resource):

Binary file not shown.

Binary file not shown.

View File

@ -140,7 +140,7 @@ class TestLink(unittest.TestCase):
pstart = time.time()
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
for i in range(0, num_packets):
time.sleep(0.001)
time.sleep(0.003)
b += packet_size
data = os.urandom(packet_size)
start = time.time()