Open thenbe opened 4 months ago
Maybe it has something to do with my issue. #8916
Maybe it has something to do with my issue. https://github.com/tauri-apps/tauri/issues/8916
Unlikely, we have no control over how the webview connects to the server there at all so i assume this is yet another upstream webkitgtk issue. Either that, or something like https://github.com/tauri-apps/wry/issues/590 (which also may or may not be an upstream issue though i think this would be on us).
Describe the bug
I have an
mjpg
server running in the background. I play the video stream in my tauri app like so:The stream runs fine. If I refresh (right click > reload) the page, the stream also continues to play fine. However, I now start to see that there are 2 active client connections on my server logs. If I refresh again, it goes up to 3. This continues until it "maxes out" at 6 connections. After which, my app no longer tries to connect my mjpeg server. At that point I need to quit and restart my tauri app to make things work again.
I've narrowed the issue down to: once my tauri app opens up a connection to my mjpeg server, there's no way it'll let go. Even hacks like randomizing the
src
attribute do not help (connections are just added and are never removed).Reproduction
ustreamer
)ustreamer
logs showing the number of active increasing and never dropping.Versions
Stack trace
No response