Error on non encrypted session #5

Closed
opened 2017-11-22 18:55:33 +00:00 by Ghost · 1 comment
Ghost commented 2017-11-22 18:55:33 +00:00 (Migrated from codeberg.org)

When running 2 ping I receive a NoneType error after 10-15 seconds.

If I comment out lines 1048 - 1051 in cli.py then this does not happen.

I believe this is because I am not running an encrypted session, but it is trying to cleanup something that doesn't exist. Maybe wrap this in an if to check if sock_class.encrypted_sessions.keys() actual has data.

When running 2 ping I receive a NoneType error after 10-15 seconds. If I comment out lines 1048 - 1051 in cli.py then this does not happen. I believe this is because I am not running an encrypted session, but it is trying to cleanup something that doesn't exist. Maybe wrap this in an if to check if sock_class.encrypted_sessions.keys() actual has data.
rfinnie commented 2018-08-10 03:30:08 +00:00 (Migrated from codeberg.org)

Fixed, thank you!

Fixed, thank you!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rfinnie/2ping#5
No description provided.