Re: out_queue_push() CVS issue

[email protected] (Jonas Borgström) 18 Nov 2002 19:09:14 +0100
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Sandro Poppi <[email protected]> writes:

> Hi,
> 
> when running rridxp-{client|server} using cvs versions of rridxp and
> roadrunner I get the following debug message (RR_DEBUG=4:NET) from
> within rr_tcp_connection_new():
> 
> channel::out_queue_push_message enqueueing an unknown RPY, this can't be
> right
> 
> This seems to be introduced with the commit of rr on nov 8 (see
> Changelog).
> 

This is not a bug in RoadRunner. The RRMessage api was slightly changed
when another bug was fixed. And I forgot to update the RR/IDXP profile. A
bugfix for the profile is now committed.

Thanks for spotting this!

Bug details:
  RoadRunner now requires that all RRMessage derived message types has
  to set "RR_MESSAGE(msg)->type" to the frame type (MSG, RPY, ERR...) in
  the constructor. RoadRunner needs this info to correctly enqueue the message.

/ Jonas
-- 
Jonas Borgström                  [email protected]
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 14