mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 01:11:57 -05:00
Caldav: New workaround for Lightning bug: sleep for 1 second on server unavailable error
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2122 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
afa4b44fe1
commit
b932cd61ed
@ -1118,6 +1118,12 @@ public class CaldavConnection extends AbstractConnection {
|
||||
} else if (e instanceof HttpPreconditionFailedException) {
|
||||
sendErr(HttpStatus.SC_PRECONDITION_FAILED, message);
|
||||
} else {
|
||||
// workaround for Lightning bug: sleep for 1 second
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException ie) {
|
||||
// ignore
|
||||
}
|
||||
sendErr(HttpStatus.SC_SERVICE_UNAVAILABLE, message);
|
||||
}
|
||||
}
|
||||
|
BIN
src/site/resources/images/osxgatekeeper.png
Normal file
BIN
src/site/resources/images/osxgatekeeper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 59 KiB |
Loading…
x
Reference in New Issue
Block a user