[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luasocket select/timeout problems on UDP
- From: Jonathan Gray <jsg@...>
- Date: Thu, 13 Apr 2006 13:19:24 +1000
On Wed, Apr 12, 2006 at 03:02:04PM -0400, Diego Nehab wrote:
> Hi,
>
> >I'll dig further, but I find it hard to believe that it is a Freebsd bug
> >(I'm a bit biased, since the BSD networking code was developed here at
> >LBL). Perhaps there's an interpretation difference in the expected
> >parameters.
>
> I have been exchanging e-mails privately with Jonathan Gray, and he does
> not confirm your problem.
>
A
> -- Jonathan Gray Wrote:
> On OpenBSD amd64 -current with
>
> gray's machine$ pkg_info | fgrep lua
> lua-5.0.2p6 powerful, light-weight programming language
> luacompat-5.1r4 compatibility module for lua 5.1
> luasocket-2.0p1 network support for the lua language
>
> 0.00012803077697754 (should be 0.5, but unoffical patch messes things
> up)
> Packet received on 127.0.0.1/36630 1 bytes
> Packet received on 127.0.0.1/36630 2 bytes
> Packet received on 127.0.0.1/36630 3 bytes
> Packet received on 127.0.0.1/36630 4 bytes
> Packet received on 127.0.0.1/36630 5 bytes
> 0.00011992454528809
> ...
>
> Also, we noticed unofficial patches to LuaSocket in the OpenBSD
> distribution that caused at least one bug. I don't have access to
> OpenBSD, nor can I control this kind of patch.
The offending patch has been removed in the latest iteration of the package.
# pkg_info | fgrep lua
lua-5.0.2p6 powerful, light-weight programming language
luacompat-5.1r4 compatibility module for lua 5.1
luasocket-2.0p2 network support for the lua language
0.5091028213501
Packet received on 127.0.0.1/19142 1 bytes
Packet received on 127.0.0.1/19142 2 bytes
Packet received on 127.0.0.1/19142 3 bytes
Packet received on 127.0.0.1/19142 4 bytes
0.50853610038757
Packet received on 127.0.0.1/19142 1 bytes
Packet received on 127.0.0.1/19142 2 bytes
Packet received on 127.0.0.1/19142 3 bytes
Packet received on 127.0.0.1/19142 4 bytes
0.51022005081177
Packet received on 127.0.0.1/19142 1 bytes
Packet received on 127.0.0.1/19142 2 bytes
Packet received on 127.0.0.1/19142 3 bytes
Packet received on 127.0.0.1/19142 4 bytes
0.50990200042725
Packet received on 127.0.0.1/19142 1 bytes
Packet received on 127.0.0.1/19142 2 bytes
Packet received on 127.0.0.1/19142 3 bytes
Packet received on 127.0.0.1/19142 4 bytes
0.50990581512451