Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 4756 invoked from network); 6 May 2009 09:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 May 2009 09:30:34 -0000 Received: (qmail 14112 invoked by uid 500); 6 May 2009 09:30:33 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 14030 invoked by uid 500); 6 May 2009 09:30:32 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 14021 invoked by uid 99); 6 May 2009 09:30:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 09:30:32 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 09:30:23 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1M1dRy-0003K8-Q2 for dev@httpd.apache.org; Wed, 06 May 2009 09:30:02 +0000 Received: from pd95d48d4.dip.t-dialin.net ([217.93.72.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 09:30:02 +0000 Received: from paul by pd95d48d4.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 09:30:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: dev@httpd.apache.org From: paul Subject: mod_dav WebDAVFS/1.7 and Transfer-Encoding Date: Wed, 06 May 2009 10:08:58 +0200 Lines: 41 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd95d48d4.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I hope this is the correct list to ask, please redirect if not. Recent Versions of OS X (WebDAVFS/1.7) have problems accessing webdav (mod_dav). Upload creates zero-byte files and the clients gets disconnected. According to: http://discussions.apple.com/thread.jspa?messageID=8101932� the issue is: We too ran into this issue with our software (Jungle Disk) and customers. As far as we've been able to tell Apple changed how Finder does PUT requests -- they now do them as Transfer-Encoding: chunked, which apparently a number of WebDAV implementations don't support. By adding support for this we have been able to interoperate with Finder again. Fix was simple. Finder is sending the Transfer-Encoding header as Chunked (note the upper case 'c'). Apache is sensitive to case. I think mod_dav would have the same issue. Minor patch to mod_dav required : it already supports chunking i think. But reading mod_dav.c around line 2393: if (tenc) { if (strcasecmp(tenc, "chunked")) { /* Use this instead of Apache's default error string */ ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "Unknown Transfer-Encoding %s", tenc); return HTTP_NOT_IMPLEMENTED; } uses strcasecmp() so the above theory seems wrong. We're using 2.2.9 and the above snipplet is from 2.2.11. Any chance this has been fixed after 2.2.9? Does anyone have encountered the issue or is this a known problem? thanks Paul