IMAPClient icon indicating copy to clipboard operation
IMAPClient copied to clipboard

Implement timeout for fetchNextReponse

Open julianweise opened this issue 8 years ago • 2 comments

Currently, the framework does not time out if fetchNextResponse does not deliver a response.

julianweise avatar Jul 19 '16 08:07 julianweise

Can reproduce. When clicking "Update" without internet connection, the app tries to fetch emails and wont stop alone after waiting for at least 20 seconds.

When I aborted using Alt+., the connection was broken: When the internet connection is enabled again, I get a NumberParserError, which is related to #29.

felixrindt avatar Jul 25 '19 15:07 felixrindt

Possible Solution: When update is called we need to check the connection before fetching the Folders and Mails. There already is a Method that tests the connection on the Endpoint.

JuliaJoch avatar Jul 30 '20 09:07 JuliaJoch