You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/08/31 12:58:18 UTC
DO NOT REPLY [Bug 43275] New: - Remove avoidable network transactions in mod_proxy_ftp
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=43275>.
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=43275
Summary: Remove avoidable network transactions in mod_proxy_ftp
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: rahul@sun.com
When a directory or a file is requested in mod_proxy_ftp, and the user has not
hinted what kind of resource it is(usual), the ftp client in mod_proxy_ftp tries
the command SIZE first, and depending on its output, CWD or RETR.
This is not required. instead, the CWD command can be used to test if the entity
is directory or not, Reducing the number of network transactions required for a
directory listing. This will not impact the normal RETR either.
Moreover SIZE command, though widely implemented, is not part of the original
FTP RFC 959.
--
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
DO NOT REPLY [Bug 43275] - Remove avoidable network transactions in mod_proxy_ftp
Posted by bu...@apache.org.
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=43275>.
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=43275
rahul@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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
DO NOT REPLY [Bug 43275] - Remove avoidable network transactions in mod_proxy_ftp
Posted by bu...@apache.org.
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=43275>.
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=43275
------- Additional Comments From rahul@sun.com 2007-08-31 04:03 -------
Created an attachment (id=20750)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20750&action=view)
Patch to remove SIZE command.
This was part of the larger patch (41676)
Removes the SIZE command, and instead uses the output of CWD to determine if
the entity is a directory or a file.
Removes the Content-Length header insertion since it is not actually useful
(From httpd-dev:)
If EOS is sent in the first brigade, then Content-Length is sent, other wise
Chunked encoding is set. There is no explicit control over which header is sent
for the filters.
--
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