Corin Langosch

Results 38 comments of Corin Langosch

I also opened the bug report "upstream" https://github.com/eventmachine/eventmachine/issues/388

@cabo Output of irb is here http://pastie.org/5428896 Output of tcpdump is here http://pastie.org/5428899 (if you need a different output, please let me know the cmd line) @ibc I tried all...

Ok, digging further shows the following: 1. When EM is acting as a server, start_tls seems to work properly for incomming connections. But it seems EM doesn't properly/ gracefully close...

@cabo Thank you for the information. I'll try my best to get a working patch for this tomorrow :) So the only thing left is the improper/ non-graceful closure of...

Hi Carsten, thank you very much for your really fast response and I'm very sorry for my long delay. I finally had the change to give your commit a try,...

Here's my attempt on getting graceful shutdown of ssl connections working, but it doesn't work at all. Also a lot of tests fail/ hang now...any ideas? :) https://github.com/gucki/EventMachine-LE/commit/ee1570d7a19c9958eaaf7f6874506182f2c51bda http://www.openssl.org/docs/ssl/SSL_shutdown.html# http://marc.info/?l=openssl-users&m=126838806919896

Ok, I just fixed all hanging/ failing tests. But still the sll connection isn't terminated gracefully. Here's the output of ftp server caused by the added debug ssl statements: ```...

I give up on this, and really hope someone else gets it fixed somehow...

@harsshhfs Sorry, I don't have any solution yet. As I also don't have much time to invest in this I'm thinking about moving to jruby and using the foxbat gem....

How did you solve it? I faced the same issue (different errors when importing it in multiple files), so I just did a "window.fetchIntercept = fetchIntercept" where I import it...