Skip to content
Snippets Groups Projects
  1. Mar 09, 2017
  2. Mar 08, 2017
  3. Mar 06, 2017
  4. Mar 04, 2017
  5. Mar 03, 2017
  6. Mar 01, 2017
  7. Feb 27, 2017
    • Craig Tiller's avatar
      Add a spinlock type. · edbf2b9d
      Craig Tiller authored
      Useful for situations where we need to repeatedly trylock, not useful
      for cases where we need to lock (due to spinning).
      
      Add a variant of sync_test to test it (with the same tests we run for
      gpr_mu).
      
      Add a benchmark to bm_closure to demonstrate single threaded performance.
      edbf2b9d
    • Yuchen Zeng's avatar
      Client-side keepalive ping · 990d9fe1
      Yuchen Zeng authored
      Based on soltanmm-google's #9114
      990d9fe1
  8. Feb 23, 2017
  9. Feb 21, 2017
  10. Feb 18, 2017
  11. Feb 17, 2017
  12. Feb 14, 2017
  13. Feb 10, 2017
  14. Feb 08, 2017
  15. Feb 07, 2017
    • Harvey Tuch's avatar
      Fix read from uninitialized memory bug in GrpcBufferWriter. · 5f3cfe96
      Harvey Tuch authored
      This commit fixes an issue in which the following sequence of operations
      leads to use of uninitialized memory:
      
      1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
         bytes in the returned buffer (which is 8192 bytes in size).
      
      2. Caller then returns the unused single byte via
         GrpcBufferWriter::BackUp(). This method invokes
         g_core_codegen_interface->grpc_slice_split_tail(), which causes
         backup_slice_ to be a grpc_slice with one byte.
      
      3. At the next invocation of GrpcBufferWriter::Next(), a reference to
         the single byte grpc_slice is returned to the caller.
      
      The problem here is that the returned reference is to the inlined buffer
      in the grpc_slice, which is resident in slice_, not the location of the
      buffer inside slice_buffer_ after
      g_core_codegen_interface->grpc_slice_buffer_add() in
      GrpcBufferWriter::Next(). As a result, any data the caller writes to the
      returned void* data is lost.
      
      The solution is to avoid inlined backup slices.
      5f3cfe96
  16. Feb 05, 2017
  17. Feb 03, 2017
    • Craig Tiller's avatar
      Put files in a better place · 61eb40ce
      Craig Tiller authored
      61eb40ce
    • Craig Tiller's avatar
      Add some debug utilities · 8b1d59ca
      Craig Tiller authored
      This PR adds a set of debug helpers that are intended for calling only from gdb. They cross abstraction boundaries and allow quickly accessing one thing from another thing.
      I expect to grow this library significantly over time to aid debugging tricky problems.
      8b1d59ca
  18. Feb 02, 2017
  19. Jan 31, 2017
  20. Jan 30, 2017
  21. Jan 27, 2017
  22. Jan 23, 2017
  23. Jan 21, 2017
  24. Jan 20, 2017
  25. Jan 19, 2017
  26. Jan 18, 2017
  27. Jan 17, 2017
  28. Jan 13, 2017
Loading