Open zanker opened 9 years ago
On MRI, calling read(0) immediately returns an empty string. On JRuby, calling read(0) blocks forever. See issue https://github.com/jruby/jruby/issues/1637
read(0)
Looking at the Java Thrift client, https://github.com/apache/thrift/blob/master/lib/java/src/org/apache/thrift/transport/TSaslTransport.java#L285 once negotiation status is complete we don't need to do anything else so this should be a safe change to make.
On MRI, calling
read(0)
immediately returns an empty string. On JRuby, callingread(0)
blocks forever. See issue https://github.com/jruby/jruby/issues/1637Looking at the Java Thrift client, https://github.com/apache/thrift/blob/master/lib/java/src/org/apache/thrift/transport/TSaslTransport.java#L285 once negotiation status is complete we don't need to do anything else so this should be a safe change to make.