[jira] [Created] (THRIFT-3953) TSSLSocket::close should handle exceptions from waitForEvent because it is called by the destructor.

2016-10-28 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3953: Summary: TSSLSocket::close should handle exceptions from waitForEvent because it is called by the destructor. Key: THRIFT-3953 URL: https://issues.apache.org/jira/browse/THRIFT-3953

[jira] [Created] (THRIFT-3944) TSSLSocket has dead code in checkHandshake

2016-10-06 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3944: Summary: TSSLSocket has dead code in checkHandshake Key: THRIFT-3944 URL: https://issues.apache.org/jira/browse/THRIFT-3944 Project: Thrift Issue Type: Bug

[jira] [Created] (THRIFT-3942) TSSLSocket does not honor send and receive timeouts

2016-10-05 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3942: Summary: TSSLSocket does not honor send and receive timeouts Key: THRIFT-3942 URL: https://issues.apache.org/jira/browse/THRIFT-3942 Project: Thrift Issue Type: Bug

[jira] [Commented] (THRIFT-3941) WinXP version of thrift_poll() relies on undefined behavior by passing a destructed variable to select()

2016-10-04 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15545886#comment-15545886 ] Ted Wang commented on THRIFT-3941: -- In fact, Thrift specifically targets Windows XP for broadest

[jira] [Commented] (THRIFT-3941) WinXP version of thrift_poll() relies on undefined behavior by passing a destructed variable to select()

2016-10-04 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15545841#comment-15545841 ] Ted Wang commented on THRIFT-3941: -- I know, but any client code can still set Windows XP to be the

[jira] [Created] (THRIFT-3941) WinXP version of thrift_poll() relies on undefined behavior by passing a destructed variable to select()

2016-10-04 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3941: Summary: WinXP version of thrift_poll() relies on undefined behavior by passing a destructed variable to select() Key: THRIFT-3941 URL: https://issues.apache.org/jira/browse/THRIFT-3941

[jira] [Commented] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve(); TThreadedServer disconnects clients when they connec

2016-04-08 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15232312#comment-15232312 ] Ted Wang commented on THRIFT-3768: -- This one is pretty complicated. Thanks for taking the time to go

[jira] [Commented] (THRIFT-3753) TServerFramework::stop may fail to interrupt connected clients

2016-04-04 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15225012#comment-15225012 ] Ted Wang commented on THRIFT-3753: -- Yes. TServerSocket (the only server transport that implements

[jira] [Commented] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve()

2016-04-04 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15224861#comment-15224861 ] Ted Wang commented on THRIFT-3768: -- >> The onClientConnected() method is documented to require the

[jira] [Commented] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve()

2016-04-04 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15224357#comment-15224357 ] Ted Wang commented on THRIFT-3768: -- What do you think about [~ben.craig]'s suggestion for using two

[jira] [Commented] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve()

2016-03-31 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15220607#comment-15220607 ] Ted Wang commented on THRIFT-3768: -- I had considered that as well, which I think would make

[jira] [Commented] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve()

2016-03-31 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15220177#comment-15220177 ] Ted Wang commented on THRIFT-3768: -- I would be happy to provide a patch to fix this race, but I am not

[jira] [Created] (THRIFT-3768) TThreadedServer may crash if it is destroyed immediately after it returns from serve()

2016-03-31 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3768: Summary: TThreadedServer may crash if it is destroyed immediately after it returns from serve() Key: THRIFT-3768 URL: https://issues.apache.org/jira/browse/THRIFT-3768

[jira] [Commented] (THRIFT-3238) Fix TNamedPipeServer can be interrupted by faulty client

2016-03-27 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15213522#comment-15213522 ] Ted Wang commented on THRIFT-3238: -- I went with the option to wrap beginAsyncRead with a try/catch

[jira] [Commented] (THRIFT-3238) Fix TNamedPipeServer can be interrupted by faulty client

2016-03-24 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15211145#comment-15211145 ] Ted Wang commented on THRIFT-3238: -- There may be multiple places that would require patching or some

[jira] [Updated] (THRIFT-3758) TApplicationException::getType and TProtocolException::getType should be const

2016-03-24 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wang updated THRIFT-3758: - Summary: TApplicationException::getType and TProtocolException::getType should be const (was:

[jira] [Created] (THRIFT-3758) TApplicationException::get_type and TProtocolException::get_type should be const

2016-03-24 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3758: Summary: TApplicationException::get_type and TProtocolException::get_type should be const Key: THRIFT-3758 URL: https://issues.apache.org/jira/browse/THRIFT-3758 Project:

[jira] [Commented] (THRIFT-3238) Fix TNamedPipeServer can be interrupted by faulty client

2016-03-24 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15210485#comment-15210485 ] Ted Wang commented on THRIFT-3238: -- I also saw this on Windows. The observable end-user effect is that

[jira] [Created] (THRIFT-3757) Fix various build warnings on Windows with VS2015 compiler

2016-03-23 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3757: Summary: Fix various build warnings on Windows with VS2015 compiler Key: THRIFT-3757 URL: https://issues.apache.org/jira/browse/THRIFT-3757 Project: Thrift Issue

[jira] [Updated] (THRIFT-3753) TServerFramework::stop may fail to interrupt connected clients

2016-03-23 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wang updated THRIFT-3753: - Flags: Patch > TServerFramework::stop may fail to interrupt connected clients >

[jira] [Updated] (THRIFT-3753) TServerFramework::stop may fail to interrupt connected clients

2016-03-23 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wang updated THRIFT-3753: - Flags: (was: Patch) Patch Info: Patch Available > TServerFramework::stop may fail to

[jira] [Updated] (THRIFT-3755) TDebugProtocol::writeString hits assert in isprint on Windows with debug CRT

2016-03-23 Thread Ted Wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Wang updated THRIFT-3755: - Patch Info: Patch Available > TDebugProtocol::writeString hits assert in isprint on Windows with debug

[jira] [Created] (THRIFT-3755) TDebugProtocol::writeString hits assert in isprint on Windows with debug CRT

2016-03-23 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3755: Summary: TDebugProtocol::writeString hits assert in isprint on Windows with debug CRT Key: THRIFT-3755 URL: https://issues.apache.org/jira/browse/THRIFT-3755 Project: Thrift

[jira] [Created] (THRIFT-3753) TServerFramework::stop may fail to interrupt connected clients

2016-03-23 Thread Ted Wang (JIRA)
Ted Wang created THRIFT-3753: Summary: TServerFramework::stop may fail to interrupt connected clients Key: THRIFT-3753 URL: https://issues.apache.org/jira/browse/THRIFT-3753 Project: Thrift

[jira] [Created] (THRIFT-3312) Why java async client not use Future as result?

2015-09-01 Thread ted wang (JIRA)
ted wang created THRIFT-3312: Summary: Why java async client not use Future as result? Key: THRIFT-3312 URL: https://issues.apache.org/jira/browse/THRIFT-3312 Project: Thrift Issue Type: Wish

[jira] [Commented] (THRIFT-2229) thrift failed to build on OSX 10.9 GM

2014-11-11 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14206239#comment-14206239 ] ted wang commented on THRIFT-2229: -- Maybe this problem occur on OSX 10.10 (14A389)

[jira] [Created] (THRIFT-2808) server side isSetXXX method return different from client side when use native type like i32 i64 double etc.

2014-11-10 Thread ted wang (JIRA)
ted wang created THRIFT-2808: Summary: server side isSetXXX method return different from client side when use native type like i32 i64 double etc. Key: THRIFT-2808 URL:

[jira] [Commented] (THRIFT-2284) java.lang.OutOfMemoryError: Java heap space

2014-04-26 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13981975#comment-13981975 ] ted wang commented on THRIFT-2284: -- [~hiyoucai] Did you resolve this problem?

[jira] [Created] (THRIFT-2301) [ruby] socket closed but throw ProtocolException

2013-12-26 Thread ted wang (JIRA)
ted wang created THRIFT-2301: Summary: [ruby] socket closed but throw ProtocolException Key: THRIFT-2301 URL: https://issues.apache.org/jira/browse/THRIFT-2301 Project: Thrift Issue Type:

[jira] [Commented] (THRIFT-1125) Multiplexing support for the Ruby Library

2013-09-10 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13763892#comment-13763892 ] ted wang commented on THRIFT-1125: -- The old one may work not very well in non-multiplex

[jira] [Created] (THRIFT-2177) Generated ruby code is not convenient to gem

2013-09-09 Thread ted wang (JIRA)
ted wang created THRIFT-2177: Summary: Generated ruby code is not convenient to gem Key: THRIFT-2177 URL: https://issues.apache.org/jira/browse/THRIFT-2177 Project: Thrift Issue Type:

[jira] [Commented] (THRIFT-1125) Multiplexing support for the Ruby Library

2013-09-09 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13761940#comment-13761940 ] ted wang commented on THRIFT-1125: -- hi Jens Geyer, first,i'm not good at ruby and i am a

[jira] [Commented] (THRIFT-1125) Multiplexing support for the Ruby Library

2013-09-09 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13762650#comment-13762650 ] ted wang commented on THRIFT-1125: -- i have tested it and found Error:

[jira] [Updated] (THRIFT-1125) Multiplexing support for the Ruby Library

2013-09-09 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ted wang updated THRIFT-1125: - Attachment: multiplexed.patch multiplexed support based on java implementation in version 0.9.1. Any

[jira] [Commented] (THRIFT-1125) Multiplexing support for the Ruby Library

2013-09-04 Thread ted wang (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13757521#comment-13757521 ] ted wang commented on THRIFT-1125: -- could this issue fix in version 1.0?