Re: [Jruby-devel] 0.8.3 Socket implementation broken

2006-04-07 Thread Thomas E Enebo
This is good to hear. I applied a variant of your patch along with some changes I made PLUS some changes Ola made right after the release of 0.8.3. The result of those changes was enough to get open-uri and net/http working. Well the simple examples given in the docs of those modules. The

Re: [Jruby-devel] 0.8.3 Socket implementation broken

2006-04-07 Thread Evan
The code consistently produces the said error for me provided I use jruby-0.8.3 (compiled and run with sun-jdk-1.4.2_10), run just like "java -jar jruby.jar -e ''". I upgraded to the latest cvs and the problem seems to be already fixed, so I guess we'll leave it at that. Evan Ola Bini wrote: > .

Re: [Jruby-devel] 0.8.3 Socket implementation broken

2006-04-07 Thread Ola Bini
... and again, at least when running your code in jirb, the call blocks at read, as expected. I also made a script of this, and run it with jruby, and it seems to block. which means I cannot reproduce this behaviour. Regards Ola Bini - Original Message - From: Evan <[EMAIL PROTECTED]> Da

Re: [Jruby-devel] 0.8.3 Socket implementation broken

2006-04-07 Thread Ola Bini
Hi. I'm not really sure how to get your test case to work. I try it in vanilla Ruby, and it hangs on the s.read(10)-line. (which it should, since we have not sent something to google http to elicit an answer) I guess the real question is: how do you get to the "Still haven't crashed"-line at all?