View Issue Details

IDProjectCategoryView StatusLast Update
0000337SOGoSOPEpublic2014-12-30 18:29
ReporterwsourdeauAssigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
Status newResolutionopen 
Summary0000337: NGImapResponseParser: handling of service/network interruptions
Description

When an IMAP connection is interrupted, the parser methods tend to loop indefinitely because the return code "-1" from _la is never handled. This causes SOGo to not recover properly when a system service is behaving erratically.

TagsNo tags attached.

Activities

wsourdeau

wsourdeau

2010-01-15 16:38

viewer   ~0000448

One possible quick fix is to enable the "EOF" marker to be queried only once per stream. The second time should trigger an NSException. From there we will be able to track the different locations in the SOPE code where the return code is not checked.

Issue History

Date Modified Username Field Change
2010-01-15 16:25 wsourdeau New Issue
2010-01-15 16:25 wsourdeau Summary NGImapResponseParser: handling of interruptions => NGImapResponseParser: handling of service/network interruptions
2010-01-15 16:38 wsourdeau Note Added: 0000448
2014-12-30 18:29 ludovic Severity major => tweak