<kostya> hi
<kostya> i tried to add http parser to crystal https://github.com/joyent/http-parser
<kostya> but not found how to map callback
<kostya> into crystal
<asterite> Ah... yes, we don't have a way yet to specify callbacks :(
<asterite> and I don't think we'll add it to the language until we have the compiler written in crystal
<asterite> but that way we'll have more time to think about it ;)
<kostya> ok
<kostya> samples/http_server.cr
<kostya> when run it, got Error binding socket
<waj> maybe you have something else running on port 8080?
<kostya> i tried another ports
<asterite> True, I just tried it in vagrant and it doesn't work
<waj> which SO are you running?
<waj> (SO -> OS)
<kostya> ubuntu 12.04
<waj> m... right, something is broken with the tcp socket in linux. I'll take a look
<asterite> We'll try to debug it later, but we'll need to add a way to get "errno" from C. It might take some days
<kostya> ok, thanks