Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348227
D7875.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D7875.diff
View Options
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(),
]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:18 PM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3233164
Attached To
D7875: svn_retry: Retry operation when server sent a truncated HTTP response
Event Timeline
Log In to Comment