Permalink
Browse files

Version bump for 2.2.2

  • Loading branch information...
1 parent 2af8704 commit fb3794b1e182ab07e41397db43b36927659eedbe @nahi nahi committed Oct 16, 2011
Showing with 35 additions and 3 deletions.
  1. +32 −0 README.txt
  2. +2 −2 httpclient.gemspec
  3. +1 −1 lib/httpclient/version.rb
View
@@ -95,6 +95,38 @@ Thanks in advance.
== Changes
+= Changes in 2.2.2 =
+
+ Oct 17, 2011 - version 2.2.2
+
+ * Bug fixes
+
+ * Do not sort query params on request: Wrongly sorted query params for
+ easier debugging but the order of request parameter should be
+ preserved. #65
+
+ * Changes
+
+ * Set responce String encoding if possible. Parse content-type response
+ header with some helps from OpenURI::Meta and set response String
+ encoding. #26
+
+ * Improve connection cache strategy. Reuse cached session in MRU order,
+ not in LRU. MRU is more server friendly than LRU because it reduces
+ number of cached sessions when a number of requests drops after an
+ usaage spike.
+
+ With reusing sessions in LRU order, all sessions are equally checked if
+ it's closed or not, as far as there's a request to the same site. With
+ reusing sessions in MRU order, old cold sessions are kept in cache long
+ time even if there's a request to the same site. To avoid this leakage,
+ this version adds keep_alive_timeout property and let SessionManager
+ scrub all sessions with checking the timeout for each session. When the
+ session expires against the last used time, it's closed and collected.
+
+ keep_alive_timeout is 15[sec] by default. The value is from the default
+ value for KeepAliveTimeout of Apache httpd 2. #68 #69
+
= Changes in 2.2.1 =
Jun 2, 2011 - version 2.2.1
View
@@ -1,8 +1,8 @@
require 'rubygems'
Gem::Specification.new { |s|
s.name = "httpclient"
- s.version = "2.2.1"
- s.date = "2011-06-02"
+ s.version = "2.2.2"
+ s.date = "2011-10-17"
s.author = "Hiroshi Nakamura"
s.email = "nahi@ruby-lang.org"
s.homepage = "http://github.com/nahi/httpclient"
@@ -1,3 +1,3 @@
class HTTPClient
- VERSION = '2.2.1'
+ VERSION = '2.2.2'
end

0 comments on commit fb3794b

Please sign in to comment.