Re: TLS profile

[email protected] (Jonas Borgström) 26 Jul 2002 12:58:07 +0200
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Andrea Campi <[email protected]> writes:

> On Thu, Jul 25, 2002 at 07:08:19PM +0200, Jonas Borgstr?m wrote:
> > 
> > if (not_authenticated) {
> > 
> >         g_error_set (error, RR_BEEP_ERROR, RR_BEEP_CODE_AUTH_REQUIRED,
> >                      "You must authenticate first");
> >         return FALSE;
> > }
> > 
> > This would stop the channel from being created and an error frame
> > with the error message will be sent to the initiator peer.
> > 
> 
> OK this is working, but I get:
> 
> 
> manager::handle_incoming_start rr_channel_server_init failed: RRCAP, You must authenticate first
> RRNET-Debug Write 129:
> ERR 0 3 . 572 105
> Content-Type: application/beep+xml
> 
> <error code='421'><![CDATA[Failed to start any profile]]></error>
> END
> 
Hi,

Yes this is a bug, I've just committed a fix for it a few minutes ago.
I also applied the one line patch to rr-tcplistener.c

/ Jonas
-- 
Jonas Borgström                  [email protected]
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 10       Cell: +46 (0)70 248 89 58