Bug 76885
Summary: | trying to download a nonexistant file produces empty file with that name | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Daniel Resare <noa-bugzilla-redhat> | ||||
Component: | cadaver | Assignee: | Joe Orton <jorton> | ||||
Status: | CLOSED CANTFIX | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | CC: | noa | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-18 14:42:06 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Daniel Resare
2002-10-28 18:37:48 UTC
Created attachment 94023 [details]
Checks if get operation fails, and if the downloaded file is empty remove it
I got bored with this bug, so I fixed it. One can argue that the fix is not all
that beautiful but on the other hand the code is full of comparable uglyness,
and the RealFix^tm would require changing the interface of the bundled libneon
and I suppose it's better to leave that to the maintainers.
Thanks for reporting this. Yes, you can't solve this elegantly using neon's ne_get(), you have to use the more complicated ne_request_create/begin_request/end_request/read_response_block interface to do it properly. Speaking as author of cadaver rather than cadaver package maintainer for Red Hat, I intend to do this for a future release. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. Note that any bug still open against Red Hat Linux on will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Closing as CANTFIX. |