Created
February 13, 2015 22:35
-
-
Save asterite/3bd4050527ce29ca6b2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error in ./libs/frank/frank.cr:21: instantiating 'HTTP::Server#listen()' | |
server.listen | |
^~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/server.cr:37: instantiating 'handle_client(TCPSocket+)' | |
handle_client(server.accept) | |
^~~~~~~~~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/server.cr:91: instantiating 'previous_def(TCPSocket+)' | |
spawn { previous_def } | |
^~~~~~~~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/server.cr:73: instantiating 'HTTP::Handler+#call(HTTP::Request)' | |
response = @handler.call(request) | |
^~~~ | |
in ./libs/frank/frank/handler.cr:12: instantiating 'call_next(HTTP::Request)' | |
response || call_next(request) | |
^~~~~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/server.cr:10: instantiating 'HTTP::Handler+#call(HTTP::Request)' | |
next_handler.call(request) | |
^~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/handlers/websocket_handler.cr:22: instantiating 'HTTP::WebSocketHandler::WebSocketSession#run()' | |
ws_session.run | |
^~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/handlers/websocket_handler.cr:41: instantiating 'loop()' | |
loop do | |
^~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/handlers/websocket_handler.cr:41: instantiating 'loop()' | |
loop do | |
^~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/server/handlers/websocket_handler.cr:42: instantiating 'HTTP::WebSocket#receive(Slice(UInt8))' | |
info = @ws.receive(@buffer) | |
^~~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/http/web_socket.cr:48: instantiating 'IO#read_fully(Slice(UInt8))' | |
@io.read_fully(@header.to_slice) | |
^~~~~~~~~~ | |
in /Users/asterite-manas/Projects/crystal/src/io.cr:242: instantiating 'read(Slice(UInt8), Int32)' | |
read_bytes = read(buffer, count) | |
^~~~ | |
in /Users/asterite-manas/Projects/crystal/src/uv/stream.cr:22: type must be LibUV::Buf, not (LibUV::Buf | Nil) | |
@current_buf.len = LibC::SizeT.cast(Math.min(slice.length, count)) | |
^~~~~~~~~~~~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment