#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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks