[ https://issues.apache.org/jira/browse/THRIFT-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Craig updated THRIFT-1890: ------------------------------ Attachment: TPipeServer.cpp Changes that work for me. This file is likely hilariously out of date of the main branch. I'm hoping that Jens can turn this back into a patch. > C++: Make named pipes server work asynchronously > ------------------------------------------------- > > Key: THRIFT-1890 > URL: https://issues.apache.org/jira/browse/THRIFT-1890 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library > Environment: Windows > Reporter: Jens Geyer > Assignee: Jens Geyer > Fix For: 1.0 > > Attachments: addNumbers.thrift, pipeStopTest.cpp, > THRIFT-1890_Cpp_Make_named_pipes_server_work_asynchronously-v2.patch, > TPipeServer.cpp > > > Currently the named pipe server cannot be stopped gracefully due to the way > ConnectNamedPipe() works for synchronous named pipes. The recommended > solution is to run the pipe in "overlapped" mode, allowing the transport to > be closed cleanly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira