The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

Re: Hub Bug?



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 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.