JPery / MJPEGWriter

Lightweight HTTP server to stream your OpenCV processing in C++
MIT License
97 stars 40 forks source link

Fix dropping socket connecitons on arrival #5

Closed Otamay closed 5 years ago

Otamay commented 5 years ago

It seems that if socket is initialized outside listener thread, connections are closed on arrival. This patch adds the port number as an object attribute and calls port open() function inside listener thread.

JPery commented 5 years ago

This is not working for me. I'll test it.

JPery commented 5 years ago

Please confirm if this is working for you now, @Otamay. For me it's working fine.

Otamay commented 5 years ago

I confirm it's working, thank you for your support!