PANKAJ9768 opened a new issue, #43667:
URL: https://github.com/apache/arrow/issues/43667

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Flight server side header acceptance limit is 2kb whereas client can send 
header size upto Integer.MAX_VALUE resulting in request failure .
   In flight client builder we can set header size limit but this is missing in 
flight server builder.
   Also default size at client side is set to Integer.MAX_VALUE  which allows 
client to send bigger payload in header but server side request is getting 
failed and no option to modify default size 
   Client side config :
   
https://github.com/apache/arrow/blob/main/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightClient.java#L777C1-L778C1
   
https://github.com/apache/arrow/blob/main/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightClient.java#L805
   
   Server side :
   
https://github.com/apache/arrow/blob/main/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightServer.java#L224
   
   
   ### Component(s)
   
   FlightRPC, Java


-- 
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