Premature return of recv() in source-broker communication
Closed this issue · 2 comments
tansly commented
The recv()
in broker call that receives data from the source may return prematurely (in case of receiving a signal etc.) This may be a problem if it returns when no data is available. In this case, I guess recv()
returns -1
, which may cause broker to freak out. What would actually happen, I don't really know.
This is not urgent because I don't think we will hit such a case. But it would be good to keep this issue in mind.