sogou / srpc

RPC framework based on C++ Workflow. Supports SRPC, Baidu bRPC, Tencent tRPC, thrift protocols.
Apache License 2.0
1.96k stars 386 forks source link

Fix : call RPCModule::server_task_end() after serialize_meta() #364

Closed holmes1412 closed 8 months ago

holmes1412 commented 8 months ago

Also fix some bugs:

  1. call RPCModule::server_task_end() after serialize_meta(), otherwise some necessary http fields have not been set.
  2. new interface compatible : add path in RPCTraceOpenTelemetry in srpc/tools parsing config.
  3. set iterator for CounterVar in collector of RPCVar.
  4. RPCModule call server_end_response() in server_end().