httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27835] - When proxying FTP, all errors turns into 404
Date Wed, 29 Aug 2007 17:52:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27835


rahul@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10895|0                           |1
        is obsolete|                            |
         AssignedTo|bugs@httpd.apache.org       |rahul@sun.com
             Status|NEW                         |ASSIGNED




------- Additional Comments From rahul@sun.com  2007-08-29 10:52 -------
Created an attachment (id=20729)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20729&action=view)
Patch to avoid going in for LIST when it is already detected as a file.

SIZE command, while widely implemented, is still not in RFC 959. Which means
that
if a server responds with 5xx to it, we can not take it to mean that it
understood
it. But if it responds with 2xx, then the server does understand SIZE, and the
entity thus referred is certainly a file.

With this in mind, what the patch does is to not to try CWD into an entity if
the size has already responded with a valid size. (thus asserting it is a file)

This reduces the network transactions by atleast one, making the whole process
faster.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message