I did try to check the behavior in the latest ubuntu, using a livecd and
with strace -f i was unable to get any useful informations.

So i tried with webdav, to be able to access server's log.

This is the generated log for a "create folder" click and then for
giving the directory a name. The previous log entries aren't here, so
yes, it did list the directory while it was already listed.

['/tmp', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 'Host: 
localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 'Host: 
localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'MKCOL', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'User-Agent: gvfs/1.4.1', '', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/untitled folder/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 
'Host: localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']
['/tmp/untitled folder', '::ffff:127.0.0.1', 'MOVE', '', '', 'HTTP/1.1', 'Host: 
localhost:8080', 'Destination: http://a...@localhost:8080/tmp/aaaa', 
'Overwrite: F', 'User-Agent: gvfs/1.4.1', '', '']
['/tmp/aaaa', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 'Host: 
localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'User-Agent: gvfs/1.4.1', 'Content-Length: 235', 
'', '']
['/tmp/aaaa/', '::ffff:127.0.0.1', 'PROPFIND', '', '', 'HTTP/1.1', 'Host: 
localhost:8080', 'Depth: 0', 'Content-Type: application/xml', 
'Apply-To-Redirect-Ref: T', 'Content-Length: 235', 'User-Agent: gvfs/1.4.1', 
'', '']


As you can see, directory is 1st created and then moved, and between those 
requests, lot of redoundant PROPFIND requests are issued. Generating futile 
load to both server and client. I remind that PROPFIND is an heavy request, 
since the server has to generate the XML response every time.
For the record, the same operation on kde does one MKCOL and one PROPFIND.

-- 
redoundant directory creation
https://bugs.launchpad.net/bugs/483454
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to