Skip to content

close the session for all DAV calls right after authentication - no need... - #11153

Merged
LukasReschke merged 2 commits into
stable6from
parallel-upload-stable6
Oct 1, 2014
Merged

LukasReschke merged 2 commits into
stable6from
parallel-upload-stable6

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

... to write to the session afterwards

@guruz

guruz commented Sep 18, 2014

Copy link
Copy Markdown
Contributor

@dragotin @danimo @ogoffart do we need some special casing for useLegacyPropagator() in the client?

@ghost

ghost commented Sep 18, 2014

Copy link
Copy Markdown

💣 Test Failed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org/job/pull-request-analyser/7449/

@ghost

ghost commented Sep 18, 2014

Copy link
Copy Markdown

🚀 Test Passed. 🚀
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org/job/pull-request-analyser/7451/

@karlitschek

Copy link
Copy Markdown
Contributor

looks good to me 👍 Extensive client testing is needed of course.

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

And please test with encryption enabled - we know encryption uses the session in a later stage, which might have negative side effects

@dragotin

Copy link
Copy Markdown
Contributor

@lmaestro can you test this branch? Pls. let me know if you need help to setup the server.

ckamm added a commit to owncloud/client that referenced this pull request Sep 19, 2014
In some owncloud server setups multiple concurrent connections for the
same session are not supported: owncloud/core#11153

This causes issues with multiple uploads and downloads. A usual symptom
is the quota job failing and the sync aborting.

This workaround lets activity on the propagator's GET and PUT jobs
reset the timeout of all network jobs. That way, queries like the quota
job would not time out while a large up/download is in progress.
@luciamaestro

Copy link
Copy Markdown

I am testing in a local environment and I have this error when I try to sync a large file(1GB):
The server did not acknowledge the last chunk (No e-tag were present)
Anyway I would like to test with a remote server

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 1 updated code elements

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@dragotin @lmaestro what's the status on this one? THX

@luciamaestro

Copy link
Copy Markdown

👍

@LukasReschke

Copy link
Copy Markdown
Contributor

@DeepDiver1975 Backport required?

@LukasReschke

Copy link
Copy Markdown
Contributor

@karlitschek FYI ^

@LukasReschke

Copy link
Copy Markdown
Contributor

Ah - this is on stable6 and stable7 and master have this already. Merging then.

LukasReschke added a commit that referenced this pull request Oct 1, 2014
close the session for all DAV calls right after authentication - no need...
@LukasReschke
LukasReschke merged commit d9ceeed into stable6 Oct 1, 2014
@LukasReschke
LukasReschke deleted the parallel-upload-stable6 branch October 1, 2014 08:42
@karlitschek

Copy link
Copy Markdown
Contributor

Thanks

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

e793084bc9e3a1fc0f8498b0082821583f4b24811ea8aa9ff0e9326778a4483e

@dragotin

dragotin commented Oct 1, 2014

Copy link
Copy Markdown
Contributor

Thanks sooo much. This is an important one... ;-)

ckamm added a commit to owncloud/client that referenced this pull request Oct 9, 2014
In some owncloud server setups multiple concurrent connections for the
same session are not supported: owncloud/core#11153

This causes issues with multiple uploads and downloads. A usual symptom
is the quota job failing and the sync aborting.

This workaround lets activity on the propagator's GET and PUT jobs
reset the timeout of all network jobs. That way, queries like the quota
job would not time out while a large up/download is in progress.

(cherry picked from commit 2eec85a)
@cdamken

cdamken commented Oct 13, 2014

Copy link
Copy Markdown
Contributor

Thanks guys! 👍

@cdamken

cdamken commented Jan 5, 2015

Copy link
Copy Markdown
Contributor

@DeepDiver1975 @dragotin The upgrade to 6.0.6 and 1.7.0 looks with the same problem. I will provide this week some logs with 1.7.1. 😢

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants