Timeout Webcam after 10 seconds nothing could be written
Description of Patch
If a webcamthread can not write for 10 seconds (caused by EAGAIN) drop the connection.
The connection is dropped by assuming errno = ETIMEDOUT.
Hint: The 10 seconds timeout starts after the sendbufferqueue of the linux tcpstack is full.
Maybe there is a discussion about the timeout of 10 seconds, or should this be configureable?
Installation of Patch
Download the patch file. Then copy it to the motion source directory and issue the command
patch < webcam_timeout.diff
Then re-build Motion and test the patch.
Change History of Patch
Discussion and Comments
Topic revision: r1 - 11 Jul 2006 - 15:27:46 -
PeterHolik