| 490 | } |
| 491 | |
| 492 | bool VerifySofaRequest(const InputMessageBase* msg_base) { |
| 493 | const Server* server = static_cast<const Server*>(msg_base->arg()); |
| 494 | if (server->options().auth) { |
| 495 | LOG(WARNING) << "sofa-pbrpc does not support authentication"; |
| 496 | return false; |
| 497 | } |
| 498 | return true; |
| 499 | } |
| 500 | |
| 501 | void ProcessSofaResponse(InputMessageBase* msg_base) { |
| 502 | const int64_t start_parse_us = butil::cpuwide_time_us(); |