Skip to content

datacompboy/chinacambug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple client, that triggers TCP stream broke bug.

Run it against cam. 
Whel sleep() executed, TCP receive window get overloaded, and TCP stream put on pause.
On server (camera) side, at that point one of send() system call on stream returns less bytes sent, that was requested.

Correct (expected) behaviour:
  - some of stream must be buffered on camera side (as much, as free RAM available)
  - once camera get out of free RAM for buffering -- TCP connection MUST be dropped

Actual behaviour:
  - non-sent data lost (result of send() call are ignored)
  as result -- stream get broken.

About

simple bug catch script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published