1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net
normal b90ad8a2f6 lib/net/*: use io/wait methods instead of IO.select
io/wait is expected to work on any platform where sockets are
supported.  io/wait methods uses fewer allocations and uses
ppoll internally under Linux for better performance on
high-numbered FDs.

[ruby-core:35572] describes the performance advantage of ppoll
on high-numbered FDs.

* lib/net/protocol.rb (rbuf_fill): use IO#wait_*able
* lib/net/http/generic_request.rb (wait_for_continue): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-15 20:11:23 +00:00
..
http lib/net/*: use io/wait methods instead of IO.select 2015-04-15 20:11:23 +00:00
ftp.rb * lib/net/ftp.rb (chdir, delete, gettextfile, mdtm, mkdir, nlst, 2015-02-10 02:26:06 +00:00
http.rb * lib/net/http.rb (edit_path): use path which is absolute ftp url 2015-04-03 23:18:20 +00:00
https.rb
imap.rb * lib/net/imap.rb: Fix undefined variable usage & refactor/DRY 2014-12-06 01:13:45 +00:00
pop.rb * lib/net/pop.rb: [DOC] Fix typo 2013-12-13 02:38:55 +00:00
protocol.rb lib/net/*: use io/wait methods instead of IO.select 2015-04-15 20:11:23 +00:00
smtp.rb * lib/net/smtp.rb (Net::SMTP#data): enable buffering while 2014-07-11 19:22:19 +00:00
telnet.rb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00