xinyiZzz commented on issue #37722:
URL: https://github.com/apache/arrow/issues/37722#issuecomment-1729363990

   I reproduced the same problem on cpp flight server.
   
   ```
   auth.h
   class FlightSqlServerAuthHandler : public arrow::flight::ServerAuthHandler {
     arrow::Status Authenticate(const arrow::flight::ServerCallContext& 
context, arrow::flight::ServerAuthSender* outgoing,
                         arrow::flight::ServerAuthReader* incoming) override;
   };
   
   
   auth.cpp
   arrow::Status FlightSqlServerAuthHandler::Authenticate(const 
arrow::flight::ServerCallContext& context, arrow::flight::ServerAuthSender* 
outgoing,
                         arrow::flight::ServerAuthReader* incoming) {
     RETURN_NOT_OK(incoming->Read(&token)); // stuck here
   }
   
   server.cpp
   flight_options.auth_handler = std::make_unique<FlightSqlServerAuthHandler>();
   RETURN_DORIS_STATUS_IF_ERROR(Init(flight_options));
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to