Menu

#8 Another Keyphrase not detected and timeout

v1.0 (example)
closed
nobody
None
5
2023-01-01
2010-06-15
Anonymous
No

In watch4str the keyphrase is not detected if a read() return data in small chunks (e.g. due to high system load) and those chuncks are less than the lengths of the keyphrase. In this case memmove(buf,buf+cc-largv,largv) will move data from before the begining of buf overwriting the piecies of keyphrase. No detection is possible in this case and a fail with timeout happen

Discussion

  • mezantrop

    mezantrop - 2023-01-01

    Thank you very much for interest to empty and debugging. I hope to fix the issue applying the patch from #6 which changes watch4str() behavior.

     
  • mezantrop

    mezantrop - 2023-01-01
    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →