Menu

#85 No short count check in blocking send

pending
nobody
None
5
2012-02-26
2012-02-04
Anonymous
No

The "socket_send" function that is used in ThreadedSocketConnection.cpp does not ensure that the whole message is sent. It indicates a success if return count is non-negative. This is pretty bad because messages are getting corrupted in case send returns a short count (i.e. interrupted by a signal).

Discussion

  • Oren Miller

    Oren Miller - 2012-02-26
    • status: open --> pending
     
  • Oren Miller

    Oren Miller - 2012-02-26

    A fix has been checked into trunk. Will go out with the next release.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.