Library crashes when used to connect using bad network (#14)
Closed
Andrzej Wójcik (Tigase) opened 8 years ago
Due Date
2016-06-30

While testing #4259 I found a case in which application crashed due to issue in library.

This issue need to be solved and application/library needs to be tested using network conditioner to find other possible issues.

Andrzej Wójcik (Tigase) commented 8 years ago

While testing I found that over slow connection it was possible that some parts of stanzas where not sent properly due to fact that network buffer was full. I added additional write queue to deal with case.

To properly handle multithreading (needed for write queue, as data may be written to queue from UI thread, while it may be written to socket using other thread), I created separate serial task queue for each connection, which will be responsible for serialization, compression of data, decompression and XML parsing. This part was planned as part of task #4245, however it was required to fix this issue.

Andrzej Wójcik (Tigase) commented 8 years ago

Changed due date due to found another issue in application.

Referenced from commit 11 months ago
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
4260
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#14
Please wait...
Page is in error, reload to recover