1. 17 Jul, 2018 3 commits
    • Ge Jun's avatar
    • Ge Jun's avatar
      59548597
    • Ge Jun's avatar
      1. Add ThriftStub to send and receive native thrift messages & specify… · 515a8d0b
      Ge Jun authored
      1. Add ThriftStub to send and receive native thrift messages & specify method-name directly. As a result, ThriftMessage<T> is removed.
      2. ThriftFramedMessage (no matter Cast<>-ed or not) can be sent/received as well so that building proxies of thrift is much easier.
      3. ThriftFramedMessage::Cast<T> can be called multiple times with reasonable behaviors, even if T is changed.
      4. Server-side errors are sent to client as TApplicationException instead of closing the connection.
      5. Code in ThriftService::ProcessThriftFramedRequest() can throw exceptions which will be sent to client as errors as well.
      6. Simplify ThriftClosure which does not need many stuffs inherited from NsheadClosure.
      7. Port protocol-related patches to thrift_protocol.cpp which was changed before the patches.
      8. Remove the unnecessary default malloc when constructing TMemoryBuffer.
      9. Use TBinaryProtocolT instead of TBinaryProtocol to make read/write non-virtual, and remove the unnecessary shared_ptr on iprot/oprot.
      10. request/response must be ThriftFramedRequest when protocol is thrift, which was not checked before.
      11. Limit max length of thrift_method_name (to a reasonable large value) so that intermediate buffer can be allocated on stack directly.
      12. Make ThriftFramedMessage uncopyable since the TBase* inside does not have a general copy function.
      515a8d0b
  2. 14 May, 2018 1 commit
    • jamesge's avatar
      Renamed ThriftMessage to ThriftFramedMessage, ThriftTemplateMessage to ThriftMessage · 05a0bd10
      jamesge authored
      Removed thrift_binary_head.h and renamed thrift_binary_head_t to thrift_head_t which is in thrift_message.h
      Adapt thrift 0.11 which uses shared_ptr defined in stdcxx.h
      Simplify example/thrift_extension_c++ by roundrobin between processing by handler or directly.
      Removed libbrpc_thrift.a, the objs are archived into libbrpc.a (and libbrpc.so) directly
      05a0bd10
  3. 11 Apr, 2018 1 commit
  4. 04 Apr, 2018 1 commit
  5. 01 Apr, 2018 1 commit
  6. 30 Mar, 2018 1 commit
  7. 06 Nov, 2017 2 commits
  8. 03 Nov, 2017 2 commits
  9. 02 Nov, 2017 1 commit