Skip to content
Snippets Groups Projects
  1. Jun 16, 2015
    • Konstantin Osipov's avatar
      lua-msgpack: introduce API to encode using any memory source · 1d80838f
      Konstantin Osipov authored
      Introduce mpstream API to lua-msgpack encoder, which allows it
      to encode msgpack into any memory source. The streaming API
      should make it possible to encode even directly to network.
      
      Patch region allocator to support the new API.
      Patch iobuf/obuf output buffer of iproto to support the new API.
      1d80838f
  2. Jun 04, 2015
    • Konstantin Osipov's avatar
      misc: iproto, iobuf cleanups · 1b1d34df
      Konstantin Osipov authored
      - encapsulate iproto configuration into iproto module API
      - iobuf: change the module to be thread-safe.
      - iobuf: rename obuf_ensure() to obuf_reserve() as is conventional
        with the reset of API.
      - iobuf: change ibuf to use slab cache directly, bypassing the region allocator
      - iobuf: consistently use int for obuf/obuf_svp iov pos and obuf_iovcnt
      - iobuf: remove iobuf_flush
      - iobuf: add iobuf pin/unpin API in preparation for iproto-in-a-thread
      - iobuf: don't trust iov_len as an end marker in obuf_reset()
        There is a chance (although currently it's never used) that one of the
        vectors is allocated, but not used, and the next vector of a larger size
        is used. In that case reset loop may stop prematurely.
      1b1d34df
  3. Jun 03, 2015
  4. Jun 02, 2015
  5. Jun 01, 2015
  6. May 29, 2015
  7. May 28, 2015
  8. May 27, 2015
Loading