luvit/luvit — pull request #68 by rphillips (2012-01-07 08:05:08+00:00)
Title: upgrade http to use net library

examples/http-download.lua currently crashes with the following stack trace

[string "utils"]:0: stack overflow
stack traceback:
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
[string "utils"]: in function '__index'
...
[string "emitter"]: in function 'emit'
[string "net"]: in main chunk
[string "emitter"]: in function 'emit'
[string "utils"]: in main chunk
[C]: in function 'xpcall'
[string "luvit"]: in main chunk
[C]: in function 'run'
[string "luvit"]: in main chunk
[C]: in function 'require'
[string "assert(require('luvit'))"]:1: in main chunk