lidavidm commented on PR #34817: URL: https://github.com/apache/arrow/pull/34817#issuecomment-1907062230
ServerCallContext has explicit AddHeader now. So you could implement it not as a middleware, but just as a plain class that reads/writes headers from the context, and sidestep that. I think it's pretty clear that middleware are borked in Flight in C++ anyways (due to issues with gRPC itself - 'real' gRPC interceptors aren't allowed to communicate state to the RPC handler for reasons unclear to me) -- 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]
