refs #2164 correctly parse the mcast session

pull/49/head
Natalia Serrano 2025-06-02 14:57:29 +02:00
parent e83e0e6e16
commit d733d04b69
2 changed files with 8 additions and 2 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.13.7] - 2025-06-02
### Fixed
- Fixed management of the "multicast session" parameter
## [0.13.6] - 2025-06-02
### Fixed

View File

@ -59,9 +59,9 @@ repo = repo.upper()
# Si MCASTWAIT menos que tiempo de espera del servidor lo aumento
MCASTWAIT = ogGlobals.MCASTWAIT
if ':' in protoopt:
port, wait = protoopt.split (':')
port, method, mcastip, speed, nclients, wait = protoopt.split (':')
else:
port, wait = ('', '')
port, method, mcastip, speed, nclients, wait = ('', '', '', '', '', '')
if proto.startswith ('MULTICAST') and re.match (r'^-?\d+$', wait):
if int (MCASTWAIT or 0) < int (wait):
MCASTWAIT = int (wait) + 5