Fix thrift_server to create transport and protocol inside the processor rather than...
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 00:56:49 +0000 (00:56 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 00:56:49 +0000 (00:56 +0000)
commitf4761e324ea111d5e26c5c506286cc59306e581a
treef8fa7bf139bf0a8fd8dec9aa4628d017f49cdff1
parentda07067489851ce502e34393f073fe4709b30e64
Fix thrift_server to create transport and protocol inside the processor rather than inside the acceptor.

This fixes a process and file descriptor leak -- previously, the thrift_buffered_transport process was linked to the acceptor, which never died.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666409 13f79535-47bb-0310-9956-ffa450edef68
lib/alterl/src/thrift_processor.erl
lib/alterl/src/thrift_server.erl