The GitHub Actions job "Java CI" on commons-vfs.git/fix/UrlFileObject_KeepAliveStream has failed. Run started by GitHub user garydgregory (triggered by garydgregory).
Head commit for run: ca7eb9a6ade3c9c513aa901679d19bc94ad65c76 / Gary Gregory <[email protected]> Fix UrlFileObject when Java 8's KeepAliveStream reuse causes IOException: Stream closed. doGetContentSize, doGetLastModifiedTime and doGetType now use HEAD for HttpURLConnection and call conn.connect() instead of opening and closing a full GET InputStream. This removes the body download and avoids the Java 8 KeepAliveStream reuse that causes IOException: Stream closed. doGetInputStream now sets Connection: close for HTTP URLs on Java 8 so the pooled socket is not reused for the next metadata call. With this change LastModifiedTests.testGetLastModifiedFile and the VfsClassLoaderTests and UrlProviderHttpTest provider tests no longer hit the Stream closed error on Java 8 on macOS and Windows. Report URL: https://github.com/apache/commons-vfs/actions/runs/32669209364 With regards, GitHub Actions via GitBox
