[java-idp-integration-tests] branch main updated: Remove length limit when retrieving status page.

Tom Zeller tzeller at dragonacea.biz
Wed Jan 4 13:48:29 UTC 2023


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=349babd44c3d52f02a94ff4b3d3aef06f8030f10

The following commit(s) were added to refs/heads/main by this push:
     new 349babd  Remove length limit when retrieving status page.
349babd is described below

commit 349babd44c3d52f02a94ff4b3d3aef06f8030f10
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jan 4 07:48:21 2023 -0600

    Remove length limit when retrieving status page.
    
    Not sure why it was limited to begin with.
---
 .../net/shibboleth/idp/integration/tests/AbstractServerProcess.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/AbstractServerProcess.java b/src/test/java/net/shibboleth/idp/integration/tests/AbstractServerProcess.java
index db73503..4fc3265 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/AbstractServerProcess.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/AbstractServerProcess.java
@@ -354,8 +354,7 @@ public class AbstractServerProcess extends AbstractInitializableComponent implem
         try {
             final HttpEntity entity = response.getEntity();
             if (entity != null) {
-                long len = entity.getContentLength();
-                if (len != -1 && len < 3048) {
+                if (entity.getContentLength() != -1) {
                     final String statusPageText = EntityUtils.toString(entity);
                     log.trace("Status page text '{}'", statusPageText);
                     return statusPageText;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list