Hi!

Thank you for reporting and investigating the issue.

I added your observation to
https://bz.apache.org/bugzilla/show_bug.cgi?id=67670

Best regards,
Konstantin Kolinko

ср, 11 окт. 2023 г. в 00:01, Amit Pande <amit.pa...@veritas.com.invalid>:

>
> I am still investigating more but after upgrading from Tomcat 9.0.80 to 
> 9.0.81, many of our rest assured based tests are failing with below error ...
>
> Caused by: org.apache.http.ConnectionClosedException: Premature end of 
> Content-Length delimited message body (expected: 4,999; received: 3,040)
>        at 
> org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178)
>        at io.restassured.internal.util.IOUtils.toByteArray(IOUtils.java:30)
>        at 
> io.restassured.internal.http.GZIPEncoding$GZIPDecompressingEntity.getContent(GZIPEncoding.java:69)
>        at 
> org.apache.http.conn.BasicManagedEntity.getContent(BasicManagedEntity.java:85)
>        at 
> io.restassured.internal.http.HTTPBuilder.parseResponse(HTTPBuilder.java:546)
>        at 
> io.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.super$2$parseResponse(RequestSpecificationImpl.groovy)
>        at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:498)
>        at 
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1268)
>        at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:144)
>
> Has anyone seen this? I will keep everyone posted after debugging more.
>
> Thanks,
> Amit

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to