Jean-Charles Quillet created THRIFT-5883:
--------------------------------------------
Summary: [c++] Using transport header on both the client and ther
raises errors on the server when the client use
Key: THRIFT-5883
URL: https://issues.apache.org/jira/browse/THRIFT-5883
Project: Thrift
Issue Type: Bug
Affects Versions: 0.22.0, 0.18.1
Reporter: Jean-Charles Quillet
I have a cpp server running transport "header" and protocol "binary"
When a client sends a request using transport "buffered", protocol "binary".
Everything works fine for the server and the client and no error is raised.
When a client sends a request using transport "header", protocol "binary".
Everything works fine from the client point of view. But on the server, I can
see these errors, depending on the client.
with a cpp client:
{code:java}
Thrift: Thu Jun 19 11:17:20 2025 TSocket::write_partial() send() <Host:
127.0.0.1 Port: 36622>: Broken pipe
Thrift: Thu Jun 19 11:17:20 2025 TConnectedClient input close failed: write()
send(): Broken pipe
Thrift: Thu Jun 19 11:17:20 2025 TSocket::write_partial() send() <Host:
127.0.0.1 Port: 36622>: Broken pipe
Thrift: Thu Jun 19 11:17:20 2025 TConnectedClient output close failed: write()
send(): Broken pipe
{code}
with a python client:
{code:java}
Thrift: Thu Jun 19 11:21:00 2025 TConnectedClient output close failed: Called
write on non-open socket
{code}
See also THRIFT-5882
--
This message was sent by Atlassian Jira
(v8.20.10#820010)