diff --git a/swh/loader/svn/svn_retry.py b/swh/loader/svn/svn_retry.py --- a/swh/loader/svn/svn_retry.py +++ b/swh/loader/svn/svn_retry.py @@ -26,6 +26,7 @@ "Connection timed out", "Unable to connect to a repository at URL", "Error running context: The server unexpectedly closed the connection", + "ra_serf: The server sent a truncated HTTP response body", ) ) return isinstance(exception, (ConnectionResetError, TimeoutError)) diff --git a/swh/loader/svn/tests/test_svn_retry.py b/swh/loader/svn/tests/test_svn_retry.py --- a/swh/loader/svn/tests/test_svn_retry.py +++ b/swh/loader/svn/tests/test_svn_retry.py @@ -78,6 +78,9 @@ ), SubversionException("Connection timed out", 175012), SubversionException("Unable to connect to a repository at URL", 170013), + SubversionException( + "ra_serf: The server sent a truncated HTTP response body.", 120106 + ), ConnectionResetError(), TimeoutError(), ]