The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: plugin XML files


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Hub Bug?



A new version of the standalone xPLHub is available from
http://www.xplmonkey.com/downloads/xplhub.msi

This fixes the message parsing bug that Ian reported.

Mal


Mal Lansell wrote:

> I can see why that causes a problem.  The message parsing is a
potential
> weak spot (since its the only part of the code that cares what is in
the
> message)
> I'll spend some time today making it bomb proof (hopefully).
>
> Mal
>
>
> Ian Lowe wrote:
>
> > Yeah, got a little more detail -
> >
> > If the hub receives a message that is malformed in a specific way
> > (others may cause the problem, but I have confirmed this one) -
that the
> > last elemnt of the message body is missing the chr(10) character,
that
> > is:
> >
> > tag=value}
> >
> > Rather than:
> >
> > Tag=value
> > }
> >
> > Then the hub locks up and will not pass any further xPL messages.
I have
> > confirmed this, as the rogue application on my desktop caused the
xPL
> > hubs on three other machines to stop pasing packets in the same
way -
> > one on server 2k3, one on NT4, one on Windows XP.
> >
> > Restarting the hubs resolves the problem, re-running my app
brings it
> > back as soon as a button is pressed. (I have now fixed my app)
> >
> > Ian.
> >
> > -----Original Message-----
> > From: ukha_xpl@xxxxxxx [mailto:ukha_xpl@xxxxxxx] On
> > Behalf Of Ian Lowe
> > Sent: 24 September 2005 11:24
> > To: ukha_xpl@xxxxxxx
> > Subject: [ukha_xpl] Hub Bug?
> >
> > Mal, I might have a bug in the new hub code - it doesn't seem to
form
> > malformed xPL packets. (obviously, I'm not expecting it to
correct
> > malformed packets, but a dodgy packet going through (in this
case, the
> > app I am working on) seems to cause it to lock up.
> >
> > It happens repeatably.
> >
> > Ian.
> >
> >
> >
> > xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
> > http://www.xpl.myby.co.uk To Post a
Message: ukha_xpl@xxxxxxx To
> > Subscribe:  ukha_xpl-subscribe@xxxxxxx
> > To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
> > http://www.xpl.myby.co.uk
> > To Post a Message: ukha_xpl@xxxxxxx
> > To Subscribe:  ukha_xpl-subscribe@xxxxxxx
> > To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx
> >
> >
> >
------------------------------------------------------------------------
> > YAHOO! GROUPS LINKS
> >
> >     *  Visit your group "ukha_xpl
> >       <http://groups.yahoo.com/group/ukha_xpl>"
on the web.
> >
> >     *  To unsubscribe from this group, send an email to:
> >        ukha_xpl-unsubscribe@xxxxxxx
> >       <mailto:ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
> >
> >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >
------------------------------------------------------------------------
> >
>
>
>
> xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
> http://www.xpl.myby.co.uk
> To Post a Message: ukha_xpl@xxxxxxx
> To Subscribe:  ukha_xpl-subscribe@xxxxxxx
> To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx
>
>
>
> SPONSORED LINKS
> Protocol analyzer
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analyzer&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=QulmGKu5OpHgigyaWFXqqA>
> 	Protocol converter
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+converter&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=_Gav_2JNLbgwjsCn8RqM-w>
> 	Sip protocol
> <http://groups.yahoo.com/gads?t=ms&k=Sip+protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=d2G6YVkW-P5WBFmpuWQ3Zw>
>
> Tcp
> <http://groups.yahoo.com/gads?t=ms&k=Tcp&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=9xqmZjMntiOfVEPLIpwKUg>
> 	Protocol analysis
> <http://groups.yahoo.com/gads?t=ms&k=Protocol+analysis&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=j5RxaJ5TSW2NTgWhIna4qQ>
> 	Protocol
> <http://groups.yahoo.com/gads?t=ms&k=Protocol&w1=Protocol+analyzer&w2=Protocol+converter&w3=Sip+protocol&w4=Tcp&w5=Protocol+analysis&w6=Protocol&c=6&s=111&.sig=OPnkI6GadMASTgKewyeqDQ>
>
>
>
>
------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "ukha_xpl
>       <http://groups.yahoo.com/group/ukha_xpl>"
on the web.
>
>     *  To unsubscribe from this group, send an email to:
>        ukha_xpl-unsubscribe@xxxxxxx
>       <mailto:ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
>
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
>
------------------------------------------------------------------------
>




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.