Project

General

Profile

Bug #12715

Updated by Peter Amstutz over 6 years ago

This is very fast: 

 curl -v -X GET -H "Authorization: OAuth2 4invqy35tf70t7hmvdc83ges8ug9cklhgqq1l8gj2cjn18teuq" https://collections.4xphq.arvadosapi.com/c=4xphq-4zz18-9d5b0qm4fgijeyi/_/ 

 This is very slow: 

 curl -v -X PROPFIND -H "Authorization: OAuth2 4invqy35tf70t7hmvdc83ges8ug9cklhgqq1l8gj2cjn18teuq" https://collections.4xphq.arvadosapi.com/c=4xphq-4zz18-9d5b0qm4fgijeyi/_/ 

 The behavior seems to be any PROPFIND response bigger than (some buffer size) gets reported in chunks, with distinct sometimes long pauses between each chunk. 

 I noticed that keep-web is using Transfer-Encoding: chunked in both cases. 

 Would this behave better if it generated the index in a buffer and reported accurate content-length? 

Back