commit | 8cf694d62d314de3501872656a662a825ff6c98d | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Jun 11 00:57:54 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Jun 11 00:57:54 2008 +0000 |
tree | be47de8fbf4dc18fd480df6c3df92b09b5aacf77 | |
parent | 5541d658643bbd2c2e1c62ee489e25a7706b9d62 [diff] |
Change alterl thrift_server to use non-blocking TCP calls and properly set the processor as the controlling process for the client sockets. Summary: - Removes the non-OTP "acceptor" process - The processor becomes the socket's controlling process instead of the transport, which is kind of messy, but it means we don't have to make a process for the socket_transport. - See http://www.trapexit.org/Building_a_Non-blocking_TCP_server_using_OTP_principles for non-blocking server info Test plan: - Ran ThriftTest and StressTest git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666417 13f79535-47bb-0310-9956-ffa450edef68