jhelovuo / RustDDS

Rust implementation of Data Distribution Service
Apache License 2.0
319 stars 65 forks source link

Corrected bug wrt reception of frag message with unknown reader_id #247

Closed steux closed 1 year ago

steux commented 1 year ago

Hi, I think I've found and corrected the bug wrt reception of fragmented messages. In UDP reception, the message was forwarded to the reader specified in fragmented packet header, reader_id but the latter is set by dds::writer to Entity::Unknown, i.e. not specified. I've just added the code to distribute the packets to all readers waiting for data on this topic, as it was already implemented for not fragmented packets. Best regards.