WebDAV - configuration of default timeout

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Pessoft
Junior Member
Junior Member
Posts: 4
Joined: 2006-11-30, 11:10 UTC
Location: Bratislava, Slovak Republic

WebDAV - configuration of default timeout

Post by *Pessoft »

Hello,

WebDAV uses default timeout for connection over HTTP ( probably wininet's 30s ). This is too short for some hosts on slow connections and/or for hosts with a lot of content, when it is not possible to retrieve directory content within limit.

Is it possible to allow configuration of WebDAV plugin's timetout?

Thanks for feedback.
[Configuration]
CPU: Intel Core i7 860 @ 2,8Ghz 64bit
RAM: 6GB
GFX: nVidia Quadro FX580
OS: Windows 7 x64bit Edition
TC: Total Commander 8.01 64bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems that you can set this in the registry, see:
http://msdn.microsoft.com/en-us/library/aa918417.aspx

in the comments at the bottom:
Here are all the timeout values verified by me which are undocumented or wrongly documented above. All values are in milliseconds.

ConnectTimeOut,
SendTimeOut,
ReceiveTimeOut,
KeepAliveTimeOut

If not present in the registry, the default values are 60 seconds for connect and 30 seconds for send / receive.
Author of Total Commander
https://www.ghisler.com
User avatar
Pessoft
Junior Member
Junior Member
Posts: 4
Joined: 2006-11-30, 11:10 UTC
Location: Bratislava, Slovak Republic

Post by *Pessoft »

Configuration of Send and Receive time-outs solved this issue for me. However I guess that for users who do not like/know to edit registry, configuration option in TC preferences or WebDAV connection would be useful ;)

For those who would like to increase their limits to 120seconds, you can create reg file with following content and import it:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

"SendTimeOut"=dword:0001d4c0

"ReceiveTimeOut"=dword:0001d4c0
Thanks for hint :)
[Configuration]
CPU: Intel Core i7 860 @ 2,8Ghz 64bit
RAM: 6GB
GFX: nVidia Quadro FX580
OS: Windows 7 x64bit Edition
TC: Total Commander 8.01 64bit
Post Reply