Skip to content
Snippets Groups Projects
  1. Dec 03, 2012
  2. Nov 29, 2012
  3. Nov 28, 2012
  4. Nov 26, 2012
  5. Nov 23, 2012
  6. Nov 22, 2012
  7. Nov 21, 2012
  8. Nov 20, 2012
  9. Nov 13, 2012
  10. Nov 08, 2012
  11. Nov 02, 2012
  12. Oct 25, 2012
    • Konstantin Osipov's avatar
      Change the piecemeal non-blocking writev() algorithm. · 1af7b0b9
      Konstantin Osipov authored
      Change sio_advance_iov to never modify iov vector in place.
      This allows for reuse of this function in a raw event
      loop, without fibers.
      
      Minor cleanups.
      
      Make memcached/noreply.test less race prone:
      flush all command is running in the event loop, and sometimes
      it doesn't get a chance to finish before we issue the next
      command.
      1af7b0b9
    • Konstantin Osipov's avatar
      Fiber ipc: a few more review fixes, fix a bug at destruction. · 0499097b
      Konstantin Osipov authored
      Use a large timeout value to indicate an infinite timeout,
      not 0. Chris J. Date teaches us that using 0 as a special
      value of infinity is a bad idea.
      
      An incomplete fix for a bug when a channel is destroyed
      in atexit handler, but has fibers blocked on it.
      
      Minor cleanups.
      0499097b
  13. Oct 23, 2012
  14. Oct 22, 2012
  15. Oct 20, 2012
  16. Oct 18, 2012
    • Konstantin Osipov's avatar
      A fix for an ugly bug with memory corruption in the new output buffer. · af0a635a
      Konstantin Osipov authored
      coio_writev() could modify the passed parameter in case of a
      partial write.
      
      It would corrupt struct obuf, which would pass to coio_writev()
      a pointer to a vector whose iov_base pointers were later reused.
      
      The following would happen:
      - iobuf_flush() would pass obuf->iov to coio_writev
      - coio_writev would advance one or two iov_base pointers
      - capacity value would hence become meaningless, and a subsequent
      obuf_dup() would overwrite heap memory
      - we would get a memory corruption in some place very distant
      from where the problem originally occurred.
      
      The fix is to preserve iovec values in coio_writev.
      This is implemented by keeping a copy of the changed iovec
      and restoring the original iovec value at exit from
      coio_writev.
      af0a635a
    • Dmitry E. Oboukhov's avatar
      rename ifc -> ipc · 9737c5a0
      Dmitry E. Oboukhov authored
      drop some ev_watchers from fiber structure.
      9737c5a0
  17. Oct 16, 2012
  18. Oct 15, 2012
  19. Oct 14, 2012
Loading