PDA

View Full Version : idletime keeps counting during/after filetransfer.


ADDiCT
11-16-2003, 11:41 AM
bounty pointed this one out while he was testing my new sitewho (this is about the info in ONLINEDATA structures)

- i start a transfer, idletime = 0s
- during the transfer, idletime keeps counting, by the end of the transfer it was 90s
- transfer is finished, idletime = 90s
- 5 seconds later, idletime = 95s

RETR somefile.avi
150 Opening BINARY mode data connection for somefile.avi.
226 [PWD: /mnt/DriveG/DIVX/ ]-[Section: Default]-[Credits: 2002.0M]-[Ratio: Unlimited]-[Speed: 7897.2kb/s]
Transferred: somefile.avi 729.178.112 bytes in 01:31 (7.818,44 KBps)

what i think is happening (from programming point-of-view) :
since that RETR command, not controldata has been sent, so idletime keeps counting.

shouldn't the idletime counter get reset after the transfer was completed successfully ?

edit: if Idle_TimeOut is set to 60s, and transfer takes 120s, the user won't get kicked, but he does have an idletime of +60s ? this might cause sitekill.exe to kick idle users that are infact only idle for a couple of seconds ?

bounty
11-16-2003, 11:50 AM
i confirm i have the same probs here ;)

darkone
11-16-2003, 01:45 PM
Well, actually client has been idle for that long :)