Closed CriztianiX closed 7 years ago
I'm actually testing this with lua 5.1 Works for me with luabitlib 5.3.0-1, luacrypto-0.3.2-1 and luasocket 3.0rc1-3
Can you try with bitlib instead of bitop?
This one http://luaforge.net/projects/bitlib/ ?
yep
On Dec 29, 2016 5:02 PM, "Cristian Haunsen" notifications@github.com wrote:
This one http://luaforge.net/projects/bitlib/ ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/isage/lua-resty-moongoo/issues/1#issuecomment-269634101, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQtITjsS-HsF7M_JZOxU09igMYLDNz-ks5rM72GgaJpZM4LXkde .
I cannot test! I 've some dependencies using bitOp, so, i cannot remove it
Anyway the page says the following
bitlib is a tiny library for bitwise operations. It is now deprecated in favour of bitop: http://bitop.luajit.org/
well, yep. they should be compatible. sorry, i can take a look at it only after holidays. meanwhile, is there something standing out in mongodb logs?
On Dec 29, 2016 5:11 PM, "Cristian Haunsen" notifications@github.com wrote:
I cannot test! I 've some dependencies using bitOp, so, i cannot remove it
Anyway the page says the following
bitlib is a tiny library for bitwise operations. It is now deprecated in favour of bitop: http://bitop.luajit.org/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/isage/lua-resty-moongoo/issues/1#issuecomment-269635179, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQtIeeIiV2YA1Q0rQN2wLBGkg2k--GZks5rM7-IgaJpZM4LXkde .
Wow... in mongodb logs i get:
2016-12-28T22:53:50.437+0000 [conn118] AssertionException handling request, closing client connection: 17132 SSL handshake received but server is started without SSL support
This shouldn't be related, as moongoo doesn't have support for ssl yet. But, it seems like mongodb throws this error in completely unrelated cases. What version of mongodb are you using?
I'm using mongodb-2.6.12-3.el7.x86_64 CentOS Linux release 7.2.1511 (Core)
The same error running on Ubuntu 16.04 mongodb-server 1:2.6.10-0ubuntu1
Okay, that's a bug in lua-cbson Should be fixed with https://github.com/isage/lua-cbson/commit/de748dab19e5e56aa3faf7c214c70a96d2b62ea5
Good notice!! Works like a Charm!
Hey, check this out!
Using luajit, this works
But using lua 5.1 with:
I get