luvit/luv — pull request #58 by imzyxwvu (2014-09-12 12:11:38+00:00)
Title: Style 1 callback

I have modified the callbacks that are necessary to be able to handle errors to style 1.

on_addrinfo and after_connect are modified and tested.

I have modified luv_on_read but I don't know if it is necessary to pass the error to Lua. If I think we should add a onerror callback for it later.