Motion-Project / motion

Motion, a software motion detector. Home page: https://motion-project.github.io/
GNU General Public License v2.0
3.69k stars 550 forks source link

favicon.ico causes never-ending stream #1821

Closed mdepa91 closed 1 month ago

mdepa91 commented 1 month ago

Did you read the guide?

Yes

What is the base version number of Motion being used?

4.5.x

What was the install method?

Installed via package tool

What is base architecture?

ARM-64bit

What is the distro being used?

Other

Disto version number

Armbian 23.11.1

Camera type(s) being used?

Network camera with RTSP

Describe the issue/problem and steps to reproduce

stream from i.e.: :8081/current by browser is fetched but browser still get never-ending stream from /favicon.ico causing transfer leak. I'm using mobile data so it's important to me. If I open <IP>:8081/favicon.ico then is streaming camera. Can it be disabled or configured?

Motion log output at log_level 8

<not needed?>
tosiara commented 1 month ago

Can you update to 4.7.0 and check?

hormigaclub commented 1 month ago

El lun, 14 oct 2024 a la(s) 2:57 a.m., tosiara @.***) escribió:

Can you update to 4.7.0 and check?

— Reply to this email directly, view it on GitHub https://github.com/Motion-Project/motion/issues/1821#issuecomment-2410015255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR3YQG5PD6IF3WFSKQA3KDZ3NMK5AVCNFSM6AAAAABPYLWSSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQGAYTKMRVGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Gustavo Javier Ovalle Ituzaingo 1365 S3070BPW - San Cristóbal Santa Fe e-mail: @.***

Mr-Dave commented 1 month ago

Please provide details of the method that you are using to demonstrate that this is happening.

mdepa91 commented 1 month ago

Please provide details of the method that you are using to demonstrate that this is happening.

open devtools in browser, open current image path i.e.: <IP>:8081/current and in my case in 'network' tab favicon.ico is still downloading(row in network histogram and summary at bottom of tab)

EDIT: any path other than /current is acts as /stream and I supose that's the case(at least at 4.5.X version)

Mr-Dave commented 1 month ago

I'm still not able to see this in my browser.

Motion doesn't provide a favicon.ico so perhaps it is the browser that continues to send requests for it.

Either way, this would fall into the enhancement category and as such wouldn't be considered as discussed in the poll.