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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   About 10-25% of Flight requests using the Go Flight client library will fail 
with the following error when behind a proxy like Cloudflare:
   
   ```
   rpc error: code = Unknown desc = unexpected HTTP status code received from 
server: 520 (); malformed header: missing HTTP content-type
   ```
   
   When comparing the implementations of the C++ library and Go library, I 
noticed that the C++ library closed sending side of the bi-directional 
Handshake stream immediately after opening it, whereas the Go library tries to 
get the headers before closing the sending stream.
   
   After re-ordering the Go code to close the sending stream first, the above 
error disappeared.
   
   ### Component(s)
   
   Go


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