rjack-httpclient-4 4.1.2.0-java → 4.1.2.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.rdoc CHANGED
@@ -1,3 +1,8 @@
1
+ === 4.1.2.1 (2011-9-16)
2
+ * Adjust SchemaRegistry factory for backward incompatible change/bug
3
+ in 4.1.2, adversely affecting SSL, as described and disregarded
4
+ {here}[http://old.nabble.com/HttpClient-4.1.2-hostname-in-certificate-didn%27t-match-to32222087.html].
5
+
1
6
  === 4.1.2.0 (2011-9-16)
2
7
  * Upgrade to httpclient 4.1.2, httpcore 4.1.3
3
8
 
@@ -28,7 +28,7 @@ module RJack
28
28
 
29
29
  import 'org.apache.http.client.params.ClientParamBean'
30
30
  import 'org.apache.http.client.params.CookiePolicy'
31
- import 'org.apache.http.conn.MultihomePlainSocketFactory'
31
+ import 'org.apache.http.conn.scheme.PlainSocketFactory'
32
32
  import 'org.apache.http.conn.params.ConnManagerParamBean'
33
33
  import 'org.apache.http.conn.params.ConnPerRouteBean'
34
34
  import 'org.apache.http.conn.scheme.Scheme'
@@ -119,14 +119,14 @@ module RJack
119
119
  # Create a default SchemeRegistry with http and https enabled.
120
120
  def create_scheme_registry
121
121
  sr = SchemeRegistry.new
122
- sr.register( Scheme.new( "http", plain_factory, 80 ) )
123
- sr.register( Scheme.new( "https", ssl_factory, 443 ) )
122
+ sr.register( Scheme.new( "http", 80, plain_factory ) )
123
+ sr.register( Scheme.new( "https", 443, ssl_factory ) )
124
124
  sr
125
125
  end
126
126
 
127
127
  # Return MultihomePlainSocketFactory instance
128
128
  def plain_factory
129
- MultihomePlainSocketFactory::socket_factory
129
+ PlainSocketFactory::socket_factory
130
130
  end
131
131
 
132
132
  # Return SSLSocketFactory instance
@@ -17,7 +17,7 @@
17
17
  module RJack
18
18
  module HTTPClient4
19
19
  HTTPCLIENT_VERSION = '4.1.2'
20
- VERSION = HTTPCLIENT_VERSION + '.0'
20
+ VERSION = HTTPCLIENT_VERSION + '.1'
21
21
 
22
22
  HTTPCLIENT_DIR = File.dirname( __FILE__ ) # :nodoc:
23
23
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rjack-httpclient-4
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 4.1.2.0
5
+ version: 4.1.2.1
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum