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/http
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
..
backward.rb * lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to 2012-08-23 22:42:12 +00:00
exceptions.rb
generic_request.rb lib/net/*: use io/wait methods instead of IO.select 2015-04-15 20:11:23 +00:00
header.rb * lib/net/http/header.rb: pass header names as symbols. 2015-02-08 11:09:44 +00:00
proxy_delta.rb
request.rb * lib/net/http/response.rb: Automatically inflate gzip and 2012-07-19 22:43:38 +00:00
requests.rb * lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY): 2014-08-05 19:20:28 +00:00
response.rb * lib/net/http/response.rb (Net::HTTPResponse): require one or more 2014-12-23 18:10:19 +00:00
responses.rb * lib/net/http/responses.rb: added Net::HTTPPermanentRedirect(308) 2014-06-12 09:32:36 +00:00