rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

frozen connections #491

Closed W-i-n-7 closed 8 months ago

W-i-n-7 commented 9 months ago

https://hdun.org/random/hfsbug.mp4 theres tons of these frozen connections that have been here for days

W-i-n-7 commented 9 months ago

apoligies for the link the filesize was too big

rejetto commented 8 months ago
  1. if you click "disconnect", do they go away?
  2. how often does it happen? roughly
  3. if you refresh the browser, do they go away?
W-i-n-7 commented 8 months ago

yes they go away if i click it i dont know how often it happens and why but they just appear

rejetto commented 8 months ago

so maybe they are real connections, not just leftovers after they disconnected. i'm introducing a timeout for those that don't make a proper request within 30 seconds. 52-beta4.4

W-i-n-7 commented 8 months ago

@rejetto now im unable to access it at all

W-i-n-7 commented 8 months ago

not even localhost responds umm i restored hfs-old and even that doesnt work now

rejetto commented 8 months ago

that's weird, i jut tried this exact version, also over the internet (mobile network) and it works fine for me. maybe your antivirus blocked it?

W-i-n-7 commented 8 months ago

download-counter plugin causes it

W-i-n-7 commented 8 months ago

so maybe they are real connections, not just leftovers after they disconnected. i'm introducing a timeout for those that don't make a proper request within 30 seconds. 52-beta4.4

the "real connections" include downloads frozen in time for days (not progressing at all) even the speed stays exactly the same

rejetto commented 8 months ago

ok but most of them were connections without data exchanged, weren't they. and i don't see a speed for them. the ones with some speed were you, using the admin-panel

W-i-n-7 commented 8 months ago

yes they were but they were on for days without changing at all

rejetto commented 8 months ago

you are right, i will also disconnect any connection that doesn't exchange data for a minute 52-beta4.5

W-i-n-7 commented 8 months ago

thank you

rejetto commented 8 months ago

reopen this issue if you find the same situation again