Source

riak-haskell-client / src / Network / Riak / Connection / Internal.hs

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Update email addresses
Bryan O'Sullivan
Don't try to send anything if we have no requests to send. If we try sending an empty bytestring, the low-level writev system call will throw an exception.
Bryan O'Sullivan
Tidy up imports.
Bryan O'Sullivan
Add a small comment
Bryan O'Sullivan
Another buffer management bugger-up
Bryan O'Sullivan
Drop an unused function
Bryan O'Sullivan
Fix some nasty buffering bugs, and improve performance * Bug 1: if a previous receive left buffered data behind, recvExactly tried to use it, but was losing it instead. Oops. * Bug 2: recvGetN was doing completely nonsensical buffer management. Performance improvement: recvExactly uses a too-large buffer, just in case there might be some, and saves any leftover data.
Bryan O'Sullivan
Add TCP_CORK / TCP_NOPUSH support
Bryan O'Sullivan
Tidyup.
Bryan O'Sullivan
recvMaybeResponse: handle the empty-response case correctly, dangit.
Bryan O'Sullivan
MOAR DOX.
Bryan O'Sullivan
A little documentation.
Bryan O'Sullivan
Make debug printing more readable.
Bryan O'Sullivan
Add much more extensive message-level debugging.
Bryan O'Sullivan
Make ErrorResponse an exception. Handle error responses properly.
Bryan O'Sullivan
Connection: export far less.
Bryan O'Sullivan
Add simple debugging support.
Bryan O'Sullivan
Simplify the module hierarchy (goodbye .Pipeline).
Bryan O'Sullivan
Many changes! * listKeys -> foldKeys * bidirectional fundeps between request and response types * somewhat sane exception usage * JSON content * moar pipeline! * drop some useless response types * response type coercion functions
Bryan O'Sullivan
Much ado about compilation warnings.