Define :frame for server #1

Merged
merged 1 commit into from Jul 30, 2012

Conversation

Projects
None yet
2 participants
@ztellman
Contributor

ztellman commented Jul 30, 2012

Since TCP is a streaming protocol, we can't assume that each packet will be a complete frame.  The preferred approach is to define a :frame for the server, which correctly decodes the stream.

Define :frame for server
Since TCP is a streaming protocol, we can't assume that each packet will be a complete frame.  The preferred approach is to define a :frame for the server, which correctly decodes the stream.

paulosuzart added a commit that referenced this pull request Jul 30, 2012

Merge pull request #1 from ztellman/patch-1
Define :frame for server

@paulosuzart paulosuzart merged commit ab56317 into paulosuzart:master Jul 30, 2012

@paulosuzart

This comment has been minimized.

Show comment Hide comment
@paulosuzart

paulosuzart Jul 30, 2012

Owner

What a honourable pull request. Thank you very much @ztellman. Now I can enqueue to the response channel pure clojure structures instead of ByteBuffers. See 7a28fdb.

Thank you very much. I'll also update the blog post.

Cheers!

Owner

paulosuzart commented Jul 30, 2012

What a honourable pull request. Thank you very much @ztellman. Now I can enqueue to the response channel pure clojure structures instead of ByteBuffers. See 7a28fdb.

Thank you very much. I'll also update the blog post.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment