You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current 1.2.0 release (and 1.1.0 and 1.0.0) I get an ObjectDisposedException on the network socket stream, but it happens after the whole file has been extracted successfully, so it seems to be yet another exceptional case happening after finishing the file.
In my total ignorance of this code, I've tracked the issue to this line:
makes my specific case work successfully. I think that the server ends the connection after the file is downloaded so the stream is not there to be read from anymore.
The text was updated successfully, but these errors were encountered:
I'm downloading a file from an FTP server and unzipping, untarring it on the fly, via the underlying streams. The code looks like this:
With the current 1.2.0 release (and 1.1.0 and 1.0.0) I get an ObjectDisposedException on the network socket stream, but it happens after the whole file has been extracted successfully, so it seems to be yet another exceptional case happening after finishing the file.
In my total ignorance of this code, I've tracked the issue to this line:
SharpZipLib/src/ICSharpCode.SharpZipLib/GZip/GzipInputStream.cs
Line 122 in ab7f8c5
and, changing it to
makes my specific case work successfully. I think that the server ends the connection after the file is downloaded so the stream is not there to be read from anymore.
The text was updated successfully, but these errors were encountered: