Jens Geyer created THRIFT-6357:
----------------------------------
Summary: OCaml TThreadedServer does not close the transports it
accepts
Key: THRIFT-6357
URL: https://issues.apache.org/jira/browse/THRIFT-6357
Project: Thrift
Issue Type: Bug
Components: OCaml - Library
Reporter: Jens Geyer
Each connection of {{TThreadedServer}} runs in its own thread, whose loop left
the accepted transport open on both the normal and the error path, so every
served connection kept its file descriptor.
Fixed on master by
[2311a0b52|https://github.com/apache/thrift/commit/2311a0b52b14b932d8098bf7fd589a1e2cf15ee4]:
the transport is closed once when the loop ends.
Reported by Sylwester Lachiewicz.
_Drafted with AI assistance (Claude Opus 5); reviewed and posted by Jens Geyer._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)