mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-17 17:53:29 +00:00
don't stream the response at all if it exceeds the max size
This commit is contained in:
@@ -360,7 +360,8 @@ class HttpGetterTest {
|
||||
|
||||
IOException e = Assertions.assertThrows(IOException.class, () -> getter.get(this.feedUrl));
|
||||
Assertions.assertEquals(
|
||||
"Response size exceeds the maximum allowed size (10000 bytes)", e.getMessage());
|
||||
"Response size (100000 bytes) exceeds the maximum allowed size (10000 bytes)",
|
||||
e.getMessage());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user