test_https_proxy.rb e$B$,e(B timeout e$B$9$k$H$$$&$N$GDI$$$+$1$?$H$3e(B
e$B$m!"$3$l$^$?e(B gets e$B$N$h$&$G$9!#e(B
% ./miniruby -ve ’
r, w = IO.pipe
Thread.new {
w << “foooo\r\n”
sleep 0.5
w << “\r\n”
}
p r.gets("\r\n\r\n")’
ruby 1.9.0 (2007-12-25 revision 0) [i686-linux]