Skip to content

[Java] EchoServer can close socket before client has finished reading #22831

Description

@asfimport

When the EchoServer finishes running the client connection, the socket is closed immediately. This causes a race condition and the client will fail with a


 SocketException: connection reset 

if it has not read all of the echoed batches.

This was consistently happening with the fix for ARROW-6315

Reporter: Bryan Cutler / @BryanCutler
Assignee: Bryan Cutler / @BryanCutler

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-6461. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions