commit | f9837420cfabf88874eeb2c0a5b9642ebe2c2461 | [log] [tgz] |
---|---|---|
author | Josh Elser <elserj@apache.org> | Thu Aug 27 13:56:23 2020 -0400 |
committer | Josh Elser <elserj@apache.org> | Thu Aug 27 13:56:23 2020 -0400 |
tree | d1599a6dec8df8f6794a01741c165bed9af18573 | |
parent | 8618b05b566bce37580f89499ae9fc702b543c0e [diff] |
[CALCITE-4196] Consume all data from client before replying with HTTP/401 SPNEGO's handshake involves sending an HTTP/401 to "challenge" the client to reply with authentication data. If the client is sending a significant amount of data in the original request, the client will still be writing this data when the server replies. This causes the client to receive a TCP Reset when it continues to write data, and ultimately manifests in a "Broken Pipe" runtime exception. The fix is to simply consume all data the client wrote prior to responding with the HTTP/401. Closes #127 Signed-off-by: Kevin Risden <krisden@apache.org>
Apache Calcite's Avatica is a framework for building database drivers.
Avatica is a sub-project of Apache Calcite.
For more details, see the home page.
Release notes for all published versions are available on the history page.