[haXe] bug in neko.net.ServerLoop?

Michelangelo Capraro michelangelo at tinlion.com
Fri Nov 3 19:38:00 CET 2006


ok, bee tearing my hair out and I think I have found a bug. its not in ServerLoop directly I don't think, I think its from neko.net.SocketInput.readBytes - randomly (as far as I can tell) it returns a number that is smaller than the length of the buffer.

I threw some comments around line 165 of ServerLoop.hx and tested cl.buffer.length against nbytes. they usually match except in a random occurrence where they do not and nbytes returns something much smaller which crashes my app.

can someone verify this for me? I need this bug fixed for my server to work.
 
 

== Tin Lion Creative ==
Michelangelo Capraro
tinlion.com 

skip-intro.org   hopbot.com   number-9.com 






More information about the Haxe mailing list