<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-20179</id>
	<title>Nabble - HttpComponents-Dev</title>
	<updated>2009-11-26T13:47:06Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/HttpComponents-Dev-f20179.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HttpComponents-Dev-f20179.html" />
	<subtitle type="html">Discussion for the development of HttpComponents.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- The Jakarta HttpComponents provide an efficient, up-to-date, and feature-rich set of components that can be used to assemble custom, standards compliant client- and server-side HTTP services.
&lt;br&gt;&amp;nbsp;- Designed for extension while providing robust support for the base HTTP protocol, the HttpComponents may be of interest to anyone building HTTP-aware client and server applications such as web browsers, web spiders, HTTP proxies, web service transport libraries, or systems that leverage or extend the HTTP protocol for distributed communication.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26535314</id>
	<title>[HttpClient] HttpClient 4.0.1 / 4.1-alpha1 preview packages</title>
	<published>2009-11-26T13:47:06Z</published>
	<updated>2009-11-26T13:47:06Z</updated>
	<author>
		<name>olegk</name>
	</author>
	<content type="html">Folks
&lt;br&gt;&lt;br&gt;Please do try to find a few minutes to review the pre-release packages 
&lt;br&gt;and release notes. If no one complains until Sunday I will assume 
&lt;br&gt;everything is all right and will proceed with building the official 
&lt;br&gt;release packages.
&lt;br&gt;&lt;br&gt;&lt;br&gt;HttpClient 4.0.1
&lt;br&gt;================
&lt;br&gt;Release notes:
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~olegk/httpclient-4.0.1/RELEASE_NOTES.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~olegk/httpclient-4.0.1/RELEASE_NOTES.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Preview packages:
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~olegk/httpclient-4.0.1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~olegk/httpclient-4.0.1/&lt;/a&gt;&lt;br&gt;&lt;br&gt;HttpClient 4.1 ALPHA1
&lt;br&gt;================
&lt;br&gt;Release notes:
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~olegk/httpclient-4.1-alpha1/RELEASE_NOTES.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~olegk/httpclient-4.1-alpha1/RELEASE_NOTES.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Preview packages:
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~olegk/httpclient-4.1-alpha1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~olegk/httpclient-4.1-alpha1/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535314&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535314&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-HttpClient--HttpClient-4.0.1---4.1-alpha1-preview-packages-tp26535314p26535314.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532003</id>
	<title>[jira] Closed: (HTTPCLIENT-884) Charset omitted from UrlEncodedFormEntity Content-Type header</title>
	<published>2009-11-26T08:40:39Z</published>
	<updated>2009-11-26T08:40:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Jared Jacobs closed HTTPCLIENT-884.
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Fix looks good. I noticed that this issue was omitted from the release notes. Only HTTPCLIENT-885 was mentioned. I believe this issue is more serious than HTTPCLIENT-885 because the library uses the faulty code to send all url-form-encoded entities, whereas the faulty code in HTTPCLIENT-885 is not used internally by the library at all.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Charset omitted from UrlEncodedFormEntity Content-Type header
&lt;br&gt;&amp;gt; -------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-884
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-884&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-884&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: all
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jared Jacobs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 1h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 1h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; UrlEncodedFormEntity sets the Content-Type header to:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;quot;application/x-www-form-urlencoded&amp;quot;
&lt;br&gt;&amp;gt; It should set the header to:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;quot;application/x-www-form-urlencoded; charset=&amp;quot; + charset
&lt;br&gt;&amp;gt; As a result, content can be misinterpreted by the recipient (e.g. if the entity content includes multibyte Unicode characters encoded with the &amp;quot;UTF-8&amp;quot; charset).
&lt;br&gt;&amp;gt; For a correct example of specifying the charset in the Content-Type header, see StringEntity.java.
&lt;br&gt;&amp;gt; Here's the fix:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public UrlEncodedFormEntity (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final List &amp;lt;? extends NameValuePair&amp;gt; parameters, 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final String encoding) throws UnsupportedEncodingException {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super(URLEncodedUtils.format(parameters, encoding), &amp;nbsp;encoding);
&lt;br&gt;&amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setContentType(URLEncodedUtils.CONTENT_TYPE);
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setContentType(URLEncodedUtils.CONTENT_TYPE + HTTP.CHARSET_PARAM +
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(encoding != null ? encoding : HTTP.DEFAULT_CONTENT_CHARSET));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public UrlEncodedFormEntity (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final List &amp;lt;? extends NameValuePair&amp;gt; parameters) throws UnsupportedEncodingException {
&lt;br&gt;&amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;super(URLEncodedUtils.format(parameters, HTTP.DEFAULT_CONTENT_CHARSET), 
&lt;br&gt;&amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HTTP.DEFAULT_CONTENT_CHARSET);
&lt;br&gt;&amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setContentType(URLEncodedUtils.CONTENT_TYPE);
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this(parameters, HTTP.DEFAULT_CONTENT_CHARSET);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532003&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532003&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-884%29-Charset-omitted-from-UrlEncodedFormEntity-Content-Type-header-tp26171960p26532003.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531822</id>
	<title>[jira] Closed: (HTTPCLIENT-885) URLEncodedUtils fails to parse form-url-encoded entities that specify a charset</title>
	<published>2009-11-26T08:26:39Z</published>
	<updated>2009-11-26T08:26:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Jared Jacobs closed HTTPCLIENT-885.
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Fix and associated test case look good to me. Thanks.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; URLEncodedUtils fails to parse form-url-encoded entities that specify a charset
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-885
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-885&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-885&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: all
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jared Jacobs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 3h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 3h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If a form-url-encoded HTTP entity specifies a charset in its Content-Type header, then URLEncodedUtils.parse(HttpEntity) fails to parse it.
&lt;br&gt;&amp;gt; An entity with content type &amp;quot;application/x-www-form-urlencoded; charset=UTF-8&amp;quot; should be detected as form-url-encoded and parsed as such, honoring the specified character set. Currently the code requires an exact, case-insensitive match with &amp;quot;application/x-www-form-urlencoded&amp;quot; for an entity to be detected as form-url-encoded.
&lt;br&gt;&amp;gt; It appears that the author of URLEncodedUtils.parse(HttpEntity) tried to take character sets into account, but expected to find them in the Content-Encoding header instead of as a parameter in the Content-Length header. The HTTP 1.1 spec makes it clear that the Content-Encoding header is for specifying transformations like gzip compression or the identity transformation -- not for specifying the entity's character set.
&lt;br&gt;&amp;gt; Here are some helpful links.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.4&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11&lt;/a&gt;&lt;br&gt;&amp;gt; This is related to: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-884&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-884&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531822&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531822&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-885%29-URLEncodedUtils-fails-to-parse-form-url-encoded-entities-that-specify-a-charset-tp26187709p26531822.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519955</id>
	<title>[jira] Resolved: (HTTPCLIENT-865) HttpClient OSGi Export-Package doesn't specify version</title>
	<published>2009-11-25T12:42:39Z</published>
	<updated>2009-11-25T12:42:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-865.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed in SVN trunk
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; HttpClient OSGi Export-Package doesn't specify version
&lt;br&gt;&amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-865
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-865&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-865&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Beta 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Richard Wallace
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The &amp;quot;Export-Package&amp;quot; manifest entry doesn't specify the version of the package being exported. &amp;nbsp;This means that packages importing it can't specify a version to import.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519955&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519955&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-865%29-HttpClient-OSGi-Export-Package-doesn%27t-specify-version-tp24763251p26519955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519499</id>
	<title>[jira] Resolved: (HTTPCORE-210) Provide HttpMethodbase.getResponseMimeType</title>
	<published>2009-11-25T12:08:39Z</published>
	<updated>2009-11-25T12:08:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCORE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCORE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCORE-210.
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Implemented in SVN trunk
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Provide HttpMethodbase.getResponseMimeType
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCORE-210
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCORE-210&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCORE-210&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpCore
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpCore
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.1-alpha1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kenny MacLeod
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1-beta1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HttpMethodBase already provides a getResponseCharSet() method which decodes the &amp;quot;Content-Type&amp;quot; header, but discards the mime-type part of the header, via getContentCharSet(). Most of the work is already done here for exposing the mime-type part to the public API.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519499&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519499&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-802%29-Provide-HttpMethodbase.getResponseMimeType-tp19996942p26519499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509992</id>
	<title>Re: [jira] Resolved: (HTTPCLIENT-873) CoreConnectionPNames/HttpConnectionParams doesn't have a corresponding Bean class</title>
	<published>2009-11-25T01:49:31Z</published>
	<updated>2009-11-25T01:49:31Z</updated>
	<author>
		<name>Ortwin Glück</name>
	</author>
	<content type="html">Oleg Kalnichevski (JIRA) wrote:
&lt;br&gt;&amp;gt; until 5.0
&lt;br&gt;&lt;br&gt;What a word!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509992&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509992&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-873%29-CoreConnectionPNames-HttpConnectionParams-doesn%27t-have-a-corresponding-Bean-class-tp25284295p26509992.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509779</id>
	<title>[jira] Moved: (HTTPCORE-210) Provide HttpMethodbase.getResponseMimeType</title>
	<published>2009-11-25T01:34:29Z</published>
	<updated>2009-11-25T01:34:29Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCORE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCORE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski moved HTTPCLIENT-802 to HTTPCORE-210:
&lt;br&gt;-------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Component/s: &amp;nbsp; &amp;nbsp; (was: HttpClient)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HttpCore
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix Version/s: &amp;nbsp; &amp;nbsp; (was: 4.1 Alpha1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4.1-beta1
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Version/s: &amp;nbsp; &amp;nbsp; (was: 3.1 Final)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4.1-alpha1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCORE-210 &amp;nbsp;(was: HTTPCLIENT-802)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpCore &amp;nbsp;(was: HttpComponents HttpClient)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Provide HttpMethodbase.getResponseMimeType
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCORE-210
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCORE-210&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCORE-210&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpCore
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpCore
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.1-alpha1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kenny MacLeod
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1-beta1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HttpMethodBase already provides a getResponseCharSet() method which decodes the &amp;quot;Content-Type&amp;quot; header, but discards the mime-type part of the header, via getContentCharSet(). Most of the work is already done here for exposing the mime-type part to the public API.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509779&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-802%29-Provide-HttpMethodbase.getResponseMimeType-tp19996942p26509779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509753</id>
	<title>[jira] Resolved: (HTTPCLIENT-873) CoreConnectionPNames/HttpConnectionParams doesn't have a corresponding Bean class</title>
	<published>2009-11-25T01:32:02Z</published>
	<updated>2009-11-25T01:32:02Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-873.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Won't Fix
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: &amp;nbsp; &amp;nbsp; (was: 4.1 Alpha1)
&lt;br&gt;&lt;br&gt;&amp;gt; CoreConnectionPNames/HttpConnectionParams are missing the bean class. 
&lt;br&gt;&lt;br&gt;Actually there is HttpConnectionParamBean already. It must have been overlooked. Inconsistent class names are unfortunate but something we will have to live with until 5.0
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; CoreConnectionPNames/HttpConnectionParams doesn't have a corresponding Bean class
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-873
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-873&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-873&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Gerald Turner
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The HttpParams framework seems to follow a policy of having:
&lt;br&gt;&amp;gt; &amp;nbsp; • an interface to declare the parameter string constant (e.g. ConnManagerPNames.TIMEOUT), also AllPNames implements this interface.
&lt;br&gt;&amp;gt; &amp;nbsp; • a class containing static accessors for the parameter (e.g. ConnManagerParams.get/setTimeout)
&lt;br&gt;&amp;gt; &amp;nbsp; • a bean class with accessors (sometimes setters only) for the parameter (e.g. ConnManagerParamBean.setTImeout)
&lt;br&gt;&amp;gt; CoreConnectionPNames/HttpConnectionParams are missing the bean class.
&lt;br&gt;&amp;gt; Furthermore the class name HttpConnectionParams doesn't quite follow the style (should be named CoreConnectionParams), but ClientPNames/HttpClientParams also has this oddity.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509753&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-873%29-CoreConnectionPNames-HttpConnectionParams-doesn%27t-have-a-corresponding-Bean-class-tp25284295p26509753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509487</id>
	<title>[jira] Commented: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-25T01:10:39Z</published>
	<updated>2009-11-25T01:10:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782344#action_12782344&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782344#action_12782344&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Martin Dürrmeier commented on HTTPCLIENT-892:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;Ah ok, got it
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-892
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Martin Dürrmeier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;&amp;gt; Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509487&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509487&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26509487.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509404</id>
	<title>[jira] Commented: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-25T01:04:53Z</published>
	<updated>2009-11-25T01:04:53Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782343#action_12782343&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782343#action_12782343&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski commented on HTTPCLIENT-892:
&lt;br&gt;----------------------------------------------
&lt;br&gt;&lt;br&gt;The links have been fixed in the source repository but the project site has not been redeployed yet. There is likely to be a new release sometime next week and I will update the web site along with the new release.
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-892
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Martin Dürrmeier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;&amp;gt; Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509404&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26509404.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508655</id>
	<title>[jira] Commented: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-24T23:44:39Z</published>
	<updated>2009-11-24T23:44:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782332#action_12782332&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782332#action_12782332&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Martin Dürrmeier commented on HTTPCLIENT-892:
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;Oleg does this mean the posted link should already work? (which it isn't, I refreshed my cache)
&lt;br&gt;I changed the Urls a little and found the Examples, could you check again?
&lt;br&gt;&lt;br&gt;HttpCore: 
&lt;br&gt;is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/examples/org/apache/http/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/examples/org/apache/http/examples/&lt;/a&gt;&lt;br&gt;works with: &lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;HttpCore NIO:
&lt;br&gt;is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/&lt;/a&gt;&lt;br&gt;works with: &lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/&lt;/a&gt;&lt;br&gt;&lt;br&gt;HttpClient:
&lt;br&gt;is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/&lt;/a&gt;&lt;br&gt;works with: &lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/&lt;/a&gt;&lt;br&gt;&lt;br&gt;HttpMime:
&lt;br&gt;is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-httpmime/src/examples/org/apache/http/examples/entity/mime/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-httpmime/src/examples/org/apache/http/examples/entity/mime/&lt;/a&gt;&lt;br&gt;works with: &lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpmime/src/examples/org/apache/http/examples/entity/mime/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpmime/src/examples/org/apache/http/examples/entity/mime/&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-892
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Martin Dürrmeier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;&amp;gt; Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508655&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508655&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26508655.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506586</id>
	<title>[jira] Commented: (HTTPCLIENT-862) Extend the client's redirect handling interface to allow control of the content of the redirect</title>
	<published>2009-11-24T18:16:39Z</published>
	<updated>2009-11-24T18:16:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782281#action_12782281&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12782281#action_12782281&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ben Perkins commented on HTTPCLIENT-862:
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;Thanks Oleg. &amp;nbsp;Yes, I will take a look.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Extend the client's redirect handling interface to allow control of the content of the redirect
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-862
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-862&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-862&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Beta 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ben Perkins
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The existing RedirectHandler interface provides the ability influence which situations cause redirects, but gives you no control over the content of the redirect itself. &amp;nbsp;For example, if you want the client follow the redirect of a POST request with a POST request to the new location, you can't do it. &amp;nbsp;DefaultRequestDirector decides what method will be used on the redirect request and as of the most recent patch, it's always either a HEAD or a GET.
&lt;br&gt;&amp;gt; One option for resolving this might be extending the RedirectHandler interface to be a factory for creating the redirect request object. &amp;nbsp;The the DefaultRequestDirector could then be changed to ask the RedirectHandler to create the appropriate request for the situation.
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ben
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506586&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506586&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-862%29-Extend-the-client%27s-redirect-handling-interface-to-allow-control-of-the-content-of-the-redirect-tp24535046p26506586.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503220</id>
	<title>[jira] Resolved: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-24T13:03:39Z</published>
	<updated>2009-11-24T13:03:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-892.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed in SVN
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-892
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Martin Dürrmeier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;&amp;gt; Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503220&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503220&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26503220.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503084</id>
	<title>[jira] Resolved: (HTTPCLIENT-889) Should USE_EXPECT_CONTINUE be false by default?</title>
	<published>2009-11-24T12:53:40Z</published>
	<updated>2009-11-24T12:53:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-889.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed in SVN trunk.
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Should USE_EXPECT_CONTINUE be false by default?
&lt;br&gt;&amp;gt; -----------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-889
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-889&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-889&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Wish
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ren Waldura
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems the point of USE_EXPECT_CONTINUE is to improve performance when posting large data. 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html&lt;/a&gt;&amp;nbsp;says:
&lt;br&gt;&amp;gt; &amp;lt;&amp;lt; The purpose of the 100 (Continue) status (see section 10.1.1) is to allow a client that is sending a request message with a request body to determine if the origin server is willing to accept the request (based on the request headers) before the client sends the request body. In some cases, it might either be inappropriate or highly inefficient for the client to send the body if the server will reject the message without looking at the body. &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; There's nothing wrong with HttpClient performing well by default, however, every other HTTP client library I've used does not behave like this (PHP curl, Perl LWP). The default is always to do one request, including the body. Maybe dumb, but simple.
&lt;br&gt;&amp;gt; It seems to me HttpClient's default behavior should the simplest, most compatible with all HTTP-speaking services out there. &amp;quot;100 Continue&amp;quot; is somewhat advanced, and may not be correctly implemented by all services. (That's of course how I found out about it -- my server doesn't implement it.)
&lt;br&gt;&amp;gt; If USE_EXPECT_CONTINUE is used only for performance reasons, it seems like it would be simpler (and therefore maybe more &amp;quot;correct&amp;quot;) to have it &amp;quot;off&amp;quot; by default. And only enable it when needed, when there is a good reason to.
&lt;br&gt;&amp;gt; Just my thoughts. And a wish. Thanks! 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503084&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-889%29-Should-USE_EXPECT_CONTINUE-be-false-by-default--tp26304917p26503084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502989</id>
	<title>[jira] Resolved: (HTTPCLIENT-862) Extend the client's redirect handling interface to allow control of the content of the redirect</title>
	<published>2009-11-24T12:47:39Z</published>
	<updated>2009-11-24T12:47:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-862.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed in SVN trunk. 
&lt;br&gt;&lt;br&gt;Ben, could you please review / test the new API?
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Extend the client's redirect handling interface to allow control of the content of the redirect
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-862
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-862&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-862&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Beta 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ben Perkins
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The existing RedirectHandler interface provides the ability influence which situations cause redirects, but gives you no control over the content of the redirect itself. &amp;nbsp;For example, if you want the client follow the redirect of a POST request with a POST request to the new location, you can't do it. &amp;nbsp;DefaultRequestDirector decides what method will be used on the redirect request and as of the most recent patch, it's always either a HEAD or a GET.
&lt;br&gt;&amp;gt; One option for resolving this might be extending the RedirectHandler interface to be a factory for creating the redirect request object. &amp;nbsp;The the DefaultRequestDirector could then be changed to ask the RedirectHandler to create the appropriate request for the situation.
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ben
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-862%29-Extend-the-client%27s-redirect-handling-interface-to-allow-control-of-the-content-of-the-redirect-tp24535046p26502989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493293</id>
	<title>[jira] Resolved: (HTTPCLIENT-894) To decrease the number of connections for connection manager dynamically.</title>
	<published>2009-11-24T02:04:39Z</published>
	<updated>2009-11-24T02:04:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-894.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Invalid
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: &amp;nbsp; &amp;nbsp; (was: 3.1.1)
&lt;br&gt;&lt;br&gt;&amp;gt; 1) Is there any way or alternative to decrease the connections dynamically without shutting down connection manager? 
&lt;br&gt;&lt;br&gt;The connection manager will gradually decrease the number of connections in the pool as they expire. It will not drop open connections proactively. The only way to alter this behavior is building a custom connection manager .
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;2) What will happen to those threads using my client if i shutdown my manager in bertween request processing? 
&lt;br&gt;&lt;br&gt;The connection manager will be rendered unusable. However, one can close all active connections in the pool by calling #closeIdleConnections(0)
&lt;br&gt;&lt;br&gt;Please in the future DO NOT USE JIRA to ask questions. That is what mailing lists are for.
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; To decrease the number of connections for connection manager dynamically.
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-894
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-894&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-894&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Question
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.1 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Windows
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Alok Chaudhary
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; I have a quick query regarding MultiThreadedHttpConnectionManager. At the application startup, i fetched no of connections value from my cache. Based on the connection value, i initialized MultiThreadedHttpConnectionManager.
&lt;br&gt;&amp;gt; MultiThreadedHttpConnectionManager &amp;nbsp;mgr = new MultiThreadedHttpConnectionManager() ;
&lt;br&gt;&amp;gt; mgr.getParams().setDefaultMaxConnectionsPerHost(10); 
&lt;br&gt;&amp;gt; mgr.getParams().setMaxTotalConnections(10); 
&lt;br&gt;&amp;gt; HttpClient client = new HttpClient(mgr) ;
&lt;br&gt;&amp;gt; Now if i dynamically increase the no of connections say &amp;quot;12&amp;quot; in my cache then my netstas shows me 12 connections. I dont have any issue in this.
&lt;br&gt;&amp;gt; But when i dynamically decrease the number of connections say &amp;quot;8&amp;quot;, connection manager does not reflect the &amp;quot;8&amp;quot; connections. Netstat still shows &amp;quot;12&amp;quot; connections in established state.
&lt;br&gt;&amp;gt; I have 20 threads those are using my HttpClient, so i dont want to shut down my connection manager.
&lt;br&gt;&amp;gt; My questions are:
&lt;br&gt;&amp;gt; &amp;nbsp;1) Is there any way or alternative to decrease the connections dynamically without shutting down connection manager?
&lt;br&gt;&amp;gt; &amp;nbsp; 2) What will happen to those threads using my client if i shutdown my manager in bertween request processing?
&lt;br&gt;&amp;gt; Any help will be appreciated.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493293&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493293&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-894%29-To-decrease-the-number-of-connections-for-connection-manager-dynamically.-tp26484430p26493293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493135</id>
	<title>[jira] Updated: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-24T01:50:39Z</published>
	<updated>2009-11-24T01:50:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski updated HTTPCLIENT-892:
&lt;br&gt;-----------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 4.1 Alpha1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4.0.1
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-892
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Martin Dürrmeier
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0.1, 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;&amp;gt; Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493135&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493135&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26493135.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493136</id>
	<title>[jira] Resolved: (HTTPCLIENT-893) SSL connection is giving exception- SSL Bad record Mac</title>
	<published>2009-11-24T01:50:39Z</published>
	<updated>2009-11-24T01:50:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-893.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Invalid
&lt;br&gt;&lt;br&gt;This problem has NOTHING to do with HttpClient. DO NOT use JIRA for asking questions. That's what mailing lists are for. 
&lt;br&gt;&lt;br&gt;Oleg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; SSL connection is giving exception- SSL Bad record Mac
&lt;br&gt;&amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-893
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-893&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-893&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.1 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pankaj
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using Http commons to talk to my server.
&lt;br&gt;&amp;gt; I am facing an issue where after every few https calls I see this error:
&lt;br&gt;&amp;gt; javax.net.ssl.SSLException: bad record MAC
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1549
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
&lt;br&gt;&amp;gt; :850)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.
&lt;br&gt;&amp;gt; java:746)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; java.io.BufferedInputStream.read(BufferedInputStream.java:237)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
&lt;br&gt;&amp;gt; a:1115)
&lt;br&gt;&amp;gt; Sometime there is no error for 100 of calls and sometimes it errors in
&lt;br&gt;&amp;gt; 6-7 calls.
&lt;br&gt;&amp;gt; Any ideas what might be wrong or if there is some existing bug in Http commons or even Sun?
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Pankaj Arora
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493136&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493136&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-893%29-SSL-connection-is-giving-exception-some-times-tp26483367p26493136.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26484430</id>
	<title>[jira] Created: (HTTPCLIENT-894) To decrease the number of connections for connection manager dynamically.</title>
	<published>2009-11-23T11:33:47Z</published>
	<updated>2009-11-23T11:33:47Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">To decrease the number of connections for connection manager dynamically.
&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: HTTPCLIENT-894
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-894&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-894&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: HttpComponents HttpClient
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Question
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: HttpClient
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.1 Final
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Windows
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Alok Chaudhary
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 3.1.1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I have a quick query regarding MultiThreadedHttpConnectionManager. At the application startup, i fetched no of connections value from my cache. Based on the connection value, i initialized MultiThreadedHttpConnectionManager.
&lt;br&gt;&lt;br&gt;MultiThreadedHttpConnectionManager &amp;nbsp;mgr = new MultiThreadedHttpConnectionManager() ;
&lt;br&gt;mgr.getParams().setDefaultMaxConnectionsPerHost(10); 
&lt;br&gt;mgr.getParams().setMaxTotalConnections(10); 
&lt;br&gt;HttpClient client = new HttpClient(mgr) ;
&lt;br&gt;&lt;br&gt;Now if i dynamically increase the no of connections say &amp;quot;12&amp;quot; in my cache then my netstas shows me 12 connections. I dont have any issue in this.
&lt;br&gt;But when i dynamically decrease the number of connections say &amp;quot;8&amp;quot;, connection manager does not reflect the &amp;quot;8&amp;quot; connections. Netstat still shows &amp;quot;12&amp;quot; connections in established state.
&lt;br&gt;&lt;br&gt;I have 20 threads those are using my HttpClient, so i dont want to shut down my connection manager.
&lt;br&gt;&lt;br&gt;My questions are:
&lt;br&gt;&amp;nbsp;1) Is there any way or alternative to decrease the connections dynamically without shutting down connection manager?
&lt;br&gt;&lt;br&gt;&amp;nbsp; 2) What will happen to those threads using my client if i shutdown my manager in bertween request processing?
&lt;br&gt;&lt;br&gt;Any help will be appreciated.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484430&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484430&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-894%29-To-decrease-the-number-of-connections-for-connection-manager-dynamically.-tp26484430p26484430.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483366</id>
	<title>[jira] Updated: (HTTPCLIENT-893) SSL connection is giving exception- SSL Bad record Mac</title>
	<published>2009-11-23T10:21:40Z</published>
	<updated>2009-11-23T10:21:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pankaj updated HTTPCLIENT-893:
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Summary: SSL connection is giving exception- SSL Bad record Mac &amp;nbsp;(was: SSL connection is giving exception some times)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; SSL connection is giving exception- SSL Bad record Mac
&lt;br&gt;&amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-893
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-893&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-893&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.1 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pankaj
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using Http commons to talk to my server.
&lt;br&gt;&amp;gt; I am facing an issue where after every few https calls I see this error:
&lt;br&gt;&amp;gt; javax.net.ssl.SSLException: bad record MAC
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1549
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
&lt;br&gt;&amp;gt; :850)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.
&lt;br&gt;&amp;gt; java:746)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; java.io.BufferedInputStream.read(BufferedInputStream.java:237)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
&lt;br&gt;&amp;gt; a:1115)
&lt;br&gt;&amp;gt; Sometime there is no error for 100 of calls and sometimes it errors in
&lt;br&gt;&amp;gt; 6-7 calls.
&lt;br&gt;&amp;gt; Any ideas what might be wrong or if there is some existing bug in Http commons or even Sun?
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Pankaj Arora
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483366&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483366&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-893%29-SSL-connection-is-giving-exception-some-times-tp26483367p26483366.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26483367</id>
	<title>[jira] Created: (HTTPCLIENT-893) SSL connection is giving exception some times</title>
	<published>2009-11-23T10:21:40Z</published>
	<updated>2009-11-23T10:21:40Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">SSL connection is giving exception some times
&lt;br&gt;---------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: HTTPCLIENT-893
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-893&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-893&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: HttpComponents HttpClient
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: HttpClient
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.1 Final
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Pankaj
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am using Http commons to talk to my server.
&lt;br&gt;I am facing an issue where after every few https calls I see this error:
&lt;br&gt;&lt;br&gt;javax.net.ssl.SSLException: bad record MAC
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1549
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
&lt;br&gt;:850)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.
&lt;br&gt;java:746)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;java.io.BufferedInputStream.read(BufferedInputStream.java:237)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
&lt;br&gt;a:1115)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sometime there is no error for 100 of calls and sometimes it errors in
&lt;br&gt;6-7 calls.
&lt;br&gt;Any ideas what might be wrong or if there is some existing bug in Http commons or even Sun?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Pankaj Arora
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483367&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26483367&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-893%29-SSL-connection-is-giving-exception-some-times-tp26483367p26483367.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474204</id>
	<title>[jira] Created: (HTTPCLIENT-892) Links in Section &quot;Example Code&quot; are broken</title>
	<published>2009-11-23T00:26:39Z</published>
	<updated>2009-11-23T00:26:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Links in Section &amp;quot;Example Code&amp;quot; are broken
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: HTTPCLIENT-892
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-892&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-892&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: HttpComponents HttpClient
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Documentation
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 4.0 Final
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Firefox 3.5.5, IE 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Martin Dürrmeier
&lt;br&gt;&lt;br&gt;&lt;br&gt;Steps to Reproduce: Go to &lt;a href=&quot;http://hc.apache.org/user-docs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/user-docs.html&lt;/a&gt;&lt;br&gt;Click of one of the Links in the Section &amp;quot;Example Code&amp;quot;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474204&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474204&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-892%29-Links-in-Section-%22Example-Code%22-are-broken-tp26474204p26474204.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26453232</id>
	<title>SSL Bad record Mac</title>
	<published>2009-11-20T18:36:59Z</published>
	<updated>2009-11-20T18:36:59Z</updated>
	<author>
		<name>Pankaj Arora-3</name>
	</author>
	<content type="html">HI,
&lt;br&gt;I am using Http commons 3.0.1 to talk to my server.
&lt;br&gt;I am facing an issue where after every few https calls I see this error:
&lt;br&gt;&lt;br&gt;javax.net.ssl.SSLException: bad record MAC
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1549
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
&lt;br&gt;:850)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.
&lt;br&gt;java:746)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;java.io.BufferedInputStream.read(BufferedInputStream.java:237)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
&lt;br&gt;a:1115)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sometime there is no error for 100 of calls and sometimes it errors in
&lt;br&gt;6-7 calls.
&lt;br&gt;Any ideas what might be wrong or if there is some existing bug in Http
&lt;br&gt;commons or even Sun?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Pankaj Arora
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Kiss Gergely [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453232&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kiss.gergely@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, November 19, 2009 1:53 AM
&lt;br&gt;To: HttpComponents Project
&lt;br&gt;Subject: Re: NegotiateAuth for HttpClient 4.x
&lt;br&gt;&lt;br&gt;Oleg,
&lt;br&gt;&lt;br&gt;Because we required a stable version of HttpComponents, the code was
&lt;br&gt;based &amp;nbsp;
&lt;br&gt;on 4.0.
&lt;br&gt;Doh... I should have looked at the JIRA first :)
&lt;br&gt;&lt;br&gt;As for digging in the current docs and trunk... sorry, but I'm already &amp;nbsp;
&lt;br&gt;promising my free time (and future free time) to everybody, so maybe
&lt;br&gt;some &amp;nbsp;
&lt;br&gt;other day.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Gergely Kiss
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Gergely,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Support for SPNEGO/Kerberos authentication scheme has been recently
&lt;br&gt;&amp;gt; added to the SVN trunk (See HTTPCLIENT-523 in JIRA for details). Did
&lt;br&gt;you
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; base your code on 4.0 release or the latest dev snapshot? If not, it
&lt;br&gt;&amp;gt; would be great if you could incorporate the latest changes into your
&lt;br&gt;&amp;gt; code line and submit your enhancements as a patch against SVN trunk.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is also a fairly extensive documentation of how current SPNEGO
&lt;br&gt;&amp;gt; support works in the HttpClient tutorial but you will have to generate
&lt;br&gt;&amp;gt; that tutorial manually from the source code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please also consider subscribing the the list so I would not have mod
&lt;br&gt;&amp;gt; your messages in manually.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Oleg
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453232&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453232&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453232&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453232&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NegotiateAuth-for-HttpClient-4.x-tp26405640p26453232.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26423670</id>
	<title>Re: NegotiateAuth for HttpClient 4.x</title>
	<published>2009-11-19T01:53:25Z</published>
	<updated>2009-11-19T01:53:25Z</updated>
	<author>
		<name>Kiss Gergely</name>
	</author>
	<content type="html">Oleg,
&lt;br&gt;&lt;br&gt;Because we required a stable version of HttpComponents, the code was based &amp;nbsp;
&lt;br&gt;on 4.0.
&lt;br&gt;Doh... I should have looked at the JIRA first :)
&lt;br&gt;&lt;br&gt;As for digging in the current docs and trunk... sorry, but I'm already &amp;nbsp;
&lt;br&gt;promising my free time (and future free time) to everybody, so maybe some &amp;nbsp;
&lt;br&gt;other day.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Gergely Kiss
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Gergely,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Support for SPNEGO/Kerberos authentication scheme has been recently
&lt;br&gt;&amp;gt; added to the SVN trunk (See HTTPCLIENT-523 in JIRA for details). Did you
&lt;br&gt;&amp;gt; base your code on 4.0 release or the latest dev snapshot? If not, it
&lt;br&gt;&amp;gt; would be great if you could incorporate the latest changes into your
&lt;br&gt;&amp;gt; code line and submit your enhancements as a patch against SVN trunk.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is also a fairly extensive documentation of how current SPNEGO
&lt;br&gt;&amp;gt; support works in the HttpClient tutorial but you will have to generate
&lt;br&gt;&amp;gt; that tutorial manually from the source code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please also consider subscribing the the list so I would not have mod
&lt;br&gt;&amp;gt; your messages in manually.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Oleg
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26423670&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26423670&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NegotiateAuth-for-HttpClient-4.x-tp26405640p26423670.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26420820</id>
	<title>[jira] Commented: (HTTPCLIENT-872) Add preemptive authentication</title>
	<published>2009-11-18T21:55:08Z</published>
	<updated>2009-11-18T21:55:08Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779837#action_12779837&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779837#action_12779837&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Asankha C. Perera commented on HTTPCLIENT-872:
&lt;br&gt;----------------------------------------------
&lt;br&gt;&lt;br&gt;This is excellent.. the new example looks very elegant and is much easier to use
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add preemptive authentication
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-872
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-872&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-872&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpAuth
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Gerald Turner
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PreemptiveAuth.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Wishlist request for preemptive authentication to be included in the API, like HttpClient 3.x had. &amp;nbsp;There is an example ClientPreemptiveBasicAuthentication.java that uses HttpRequestInterceptor which I had adapted to my application and it works fine.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26420820&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26420820&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-872%29-Add-preemptive-authentication-tp25283966p26420820.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415916</id>
	<title>[jira] Resolved: (HTTPCLIENT-872) Add preemptive authentication</title>
	<published>2009-11-18T13:16:39Z</published>
	<updated>2009-11-18T13:16:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Oleg Kalnichevski resolved HTTPCLIENT-872.
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;* HttpClient can now persist authentication data between request executions as long as they share the same execution context. 
&lt;br&gt;* It has also become much easier to make HttpClient authenticate preemptively by pre-populating authentication data cache
&lt;br&gt;&lt;br&gt;Compare old code (4.0):
&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.0.x/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.0.x/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.0.x/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.0.x/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;with new one (4.1):
&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please review / test / give feedback
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add preemptive authentication
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-872
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-872&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-872&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpAuth
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Gerald Turner
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.1 Alpha1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PreemptiveAuth.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Wishlist request for preemptive authentication to be included in the API, like HttpClient 3.x had. &amp;nbsp;There is an example ClientPreemptiveBasicAuthentication.java that uses HttpRequestInterceptor which I had adapted to my application and it works fine.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26415916&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26415916&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-872%29-Add-preemptive-authentication-tp25283966p26415916.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26406587</id>
	<title>Re: NegotiateAuth for HttpClient 4.x</title>
	<published>2009-11-18T03:59:48Z</published>
	<updated>2009-11-18T03:59:48Z</updated>
	<author>
		<name>olegk</name>
	</author>
	<content type="html">On Wed, 2009-11-18 at 10:03 +0100, Kiss Gergely wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear HttpComponent Developers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We're using HttpComponents 4.x in out project for some time now, and last
&lt;br&gt;&amp;gt; week I spent a lot of time figuring out how Exchange works with WebDAV and
&lt;br&gt;&amp;gt; Kerberos authentication.
&lt;br&gt;&amp;gt; In the meantime, I have implemented the NegotiateScheme class for 4.x -
&lt;br&gt;&amp;gt; based on Mikael Wikstrom's previous work for HttpClient 3.x - which I'd like
&lt;br&gt;&amp;gt; to contribute back to the community.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Notes:
&lt;br&gt;&amp;gt; - with 4.x it's a bit harder to add a new authentication scheme, but is
&lt;br&gt;&amp;gt; possible with DefaultHttpClient.setTargetAuthenticationHandler() - so the
&lt;br&gt;&amp;gt; new authPreferences should look like { &amp;quot;negotiate&amp;quot;, &amp;quot;ntlm&amp;quot;, &amp;quot;digest&amp;quot;,
&lt;br&gt;&amp;gt; &amp;quot;basic&amp;quot; }
&lt;br&gt;&amp;gt; - unfortunately the current (4.0) implementation does not fall back to Basic
&lt;br&gt;&amp;gt; or Digest if Negotiate or NTLM authentication failed, so you have to decide
&lt;br&gt;&amp;gt; which one to use before executing the request
&lt;br&gt;&amp;gt; - The execute() call is required to run in a JAAS context (with
&lt;br&gt;&amp;gt; Subject.doAs(...))
&lt;br&gt;&amp;gt; - Kerberos authentication requires a service name to work (the first part of
&lt;br&gt;&amp;gt; the SPN), and this was a constant value (&amp;quot;HTTP&amp;quot;) in the previous version -
&lt;br&gt;&amp;gt; but the target service may already have another SPN (so registering HTTP
&lt;br&gt;&amp;gt; would be unnecessary). For this reason, I introduced the
&lt;br&gt;&amp;gt; parameter NegotiateSchemeFactory.SERVICE_PREFIX, which is read from the
&lt;br&gt;&amp;gt; HttpParams specified to the client.
&lt;br&gt;&amp;gt; - Credential delegation was tested and works very nicely
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt; Gergely Kiss
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Gergely,
&lt;br&gt;&lt;br&gt;Support for SPNEGO/Kerberos authentication scheme has been recently
&lt;br&gt;added to the SVN trunk (See HTTPCLIENT-523 in JIRA for details). Did you
&lt;br&gt;base your code on 4.0 release or the latest dev snapshot? If not, it
&lt;br&gt;would be great if you could incorporate the latest changes into your
&lt;br&gt;code line and submit your enhancements as a patch against SVN trunk.
&lt;br&gt;&lt;br&gt;There is also a fairly extensive documentation of how current SPNEGO
&lt;br&gt;support works in the HttpClient tutorial but you will have to generate
&lt;br&gt;that tutorial manually from the source code.
&lt;br&gt;&lt;br&gt;Please also consider subscribing the the list so I would not have mod
&lt;br&gt;your messages in manually.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Oleg 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26406587&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26406587&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NegotiateAuth-for-HttpClient-4.x-tp26405640p26406587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26405640</id>
	<title>NegotiateAuth for HttpClient 4.x</title>
	<published>2009-11-18T01:03:54Z</published>
	<updated>2009-11-18T01:03:54Z</updated>
	<author>
		<name>Kiss Gergely</name>
	</author>
	<content type="html">Dear HttpComponent Developers,
&lt;br&gt;&lt;br&gt;We're using HttpComponents 4.x in out project for some time now, and last
&lt;br&gt;week I spent a lot of time figuring out how Exchange works with WebDAV and
&lt;br&gt;Kerberos authentication.
&lt;br&gt;In the meantime, I have implemented the NegotiateScheme class for 4.x -
&lt;br&gt;based on Mikael Wikstrom's previous work for HttpClient 3.x - which I'd like
&lt;br&gt;to contribute back to the community.
&lt;br&gt;&lt;br&gt;Notes:
&lt;br&gt;- with 4.x it's a bit harder to add a new authentication scheme, but is
&lt;br&gt;possible with DefaultHttpClient.setTargetAuthenticationHandler() - so the
&lt;br&gt;new authPreferences should look like { &amp;quot;negotiate&amp;quot;, &amp;quot;ntlm&amp;quot;, &amp;quot;digest&amp;quot;,
&lt;br&gt;&amp;quot;basic&amp;quot; }
&lt;br&gt;- unfortunately the current (4.0) implementation does not fall back to Basic
&lt;br&gt;or Digest if Negotiate or NTLM authentication failed, so you have to decide
&lt;br&gt;which one to use before executing the request
&lt;br&gt;- The execute() call is required to run in a JAAS context (with
&lt;br&gt;Subject.doAs(...))
&lt;br&gt;- Kerberos authentication requires a service name to work (the first part of
&lt;br&gt;the SPN), and this was a constant value (&amp;quot;HTTP&amp;quot;) in the previous version -
&lt;br&gt;but the target service may already have another SPN (so registering HTTP
&lt;br&gt;would be unnecessary). For this reason, I introduced the
&lt;br&gt;parameter NegotiateSchemeFactory.SERVICE_PREFIX, which is read from the
&lt;br&gt;HttpParams specified to the client.
&lt;br&gt;- Credential delegation was tested and works very nicely
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Gergely Kiss
&lt;br&gt;&lt;br&gt;&lt;br&gt;===========================================
&lt;br&gt;NegotiateSchemeFactory.java:
&lt;br&gt;===========================================
&lt;br&gt;package org.apache.http.impl.auth;
&lt;br&gt;&lt;br&gt;import org.apache.http.auth.AuthScheme;
&lt;br&gt;import org.apache.http.auth.AuthSchemeFactory;
&lt;br&gt;import org.apache.http.params.HttpParams;
&lt;br&gt;&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* Negotiate scheme factory for HttpClient 4.x.
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;&amp;nbsp;* @author &amp;nbsp;&amp;lt;a href=&amp;quot;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405640&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kiss.gergely@...&lt;/a&gt;&amp;quot;&amp;gt;Gergely Kiss&amp;lt;/a&amp;gt;
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;public class NegotiateSchemeFactory implements AuthSchemeFactory {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Service prefix for the Kerberos SPN.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;p&amp;gt;This is HTTP by default, but some services may already have
&lt;br&gt;another SPN.&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String SERVICE_PREFIX = &amp;quot;KerberosServiceName&amp;quot;;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public AuthScheme newInstance(HttpParams params) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NegotiateScheme scheme = new NegotiateScheme();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Setting the service prefix, if specified
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object param = params.getParameter(SERVICE_PREFIX);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (param != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scheme.setServicePrefix(String.valueOf(param));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return scheme;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;===========================================
&lt;br&gt;NegotiateScheme.java:
&lt;br&gt;===========================================
&lt;br&gt;package org.apache.http.impl.auth;
&lt;br&gt;&lt;br&gt;import org.apache.commons.codec.binary.Base64;
&lt;br&gt;import org.apache.commons.logging.Log;
&lt;br&gt;import org.apache.commons.logging.LogFactory;
&lt;br&gt;&lt;br&gt;import org.apache.http.Header;
&lt;br&gt;import org.apache.http.HttpRequest;
&lt;br&gt;import org.apache.http.auth.AUTH;
&lt;br&gt;import org.apache.http.auth.AuthScheme;
&lt;br&gt;import org.apache.http.auth.AuthenticationException;
&lt;br&gt;import org.apache.http.auth.Credentials;
&lt;br&gt;import org.apache.http.auth.InvalidCredentialsException;
&lt;br&gt;import org.apache.http.auth.MalformedChallengeException;
&lt;br&gt;import org.apache.http.message.BasicHeader;
&lt;br&gt;&lt;br&gt;import org.ietf.jgss.GSSContext;
&lt;br&gt;import org.ietf.jgss.GSSException;
&lt;br&gt;import org.ietf.jgss.GSSManager;
&lt;br&gt;import org.ietf.jgss.GSSName;
&lt;br&gt;import org.ietf.jgss.Oid;
&lt;br&gt;&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* Authentication scheme implementing the Negotiate protocol with JAAS for
&lt;br&gt;HTTPClient 4.x.
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;&amp;nbsp;* @author &amp;nbsp;&amp;lt;a href=&amp;quot;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405640&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mikael.wikstrom@...&lt;/a&gt;&amp;quot;&amp;gt;Mikael Wikstrom&amp;lt;/a&amp;gt;
&lt;br&gt;&amp;nbsp;* @author &amp;nbsp;&amp;lt;a href=&amp;quot;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405640&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kiss.gergely@...&lt;/a&gt;&amp;quot;&amp;gt;Gergely Kiss&amp;lt;/a&amp;gt;
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;public class NegotiateScheme implements AuthScheme {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /** Log object for this class. */
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final Log log = LogFactory.getLog(NegotiateScheme.class);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final int UNINITIATED = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final int INITIATED = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final int NEGOTIATING = 3;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final int ESTABLISHED = 4;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final int FAILED = Integer.MAX_VALUE;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private GSSContext context = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /** Authentication process state */
&lt;br&gt;&amp;nbsp; &amp;nbsp; private int state;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /** base64 decoded challenge * */
&lt;br&gt;&amp;nbsp; &amp;nbsp; byte[] token = new byte[0];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Service prefix for the Kerberos SPN.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;p&amp;gt;This is usually HTTP, but another service name can also be
&lt;br&gt;used.&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; private String servicePrefix = &amp;quot;HTTP&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Default constructor for the Negotiate authentication scheme.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp;subject
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since &amp;nbsp;3.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public NegotiateScheme() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state = UNINITIATED;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Init GSSContext for negotiation.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp;host &amp;nbsp;servername only (e.g: radar.it.su.se)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected void init(String host) throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;init &amp;quot; + host);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Kerberos v5 GSS-API mechanism defined in RFC 1964. */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Oid krb5Oid = new Oid(&amp;quot;1.2.840.113554.1.2.2&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GSSManager manager = GSSManager.getInstance();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GSSName serverName = manager.createName(servicePrefix + &amp;quot;/&amp;quot; + host,
&lt;br&gt;null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context = manager.createContext(serverName, krb5Oid, null,
&lt;br&gt;GSSContext.DEFAULT_LIFETIME);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.requestCredDeleg(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.requestMutualAuth(true);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state = INITIATED;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Processes the Negotiate challenge.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp;challenge &amp;nbsp;the challenge string
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since &amp;nbsp;4.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public void processChallenge(Header header) throws
&lt;br&gt;MalformedChallengeException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String challenge = header.getValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;enter processChallenge(challenge=\&amp;quot;&amp;quot; + challenge +
&lt;br&gt;&amp;quot;\&amp;quot;)&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (challenge.startsWith(&amp;quot;Negotiate&amp;quot;)) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!isComplete()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state = NEGOTIATING;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (challenge.startsWith(&amp;quot;Negotiate &amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; token = new
&lt;br&gt;Base64().decode(challenge.substring(10).getBytes());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; token = new byte[0];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Tests if the Negotiate authentication process has been completed.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;&amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt; if authorization has been processed,
&lt;br&gt;&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt; otherwise.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since &amp;nbsp; 3.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isComplete() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;enter isComplete()&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return (this.state == ESTABLISHED) || (this.state == FAILED);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Returns textual designation of the Negotiate authentication scheme.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;&amp;lt;code&amp;gt;Negotiate&amp;lt;/code&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getSchemeName() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &amp;quot;Negotiate&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* The concept of an authentication realm is not supported by the
&lt;br&gt;Negotiate authentication scheme. Always returns
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;&amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getRealm() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Returns the authentication parameter with the given name, if
&lt;br&gt;available.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;lt;p&amp;gt;There are no valid parameters for Negotiate authentication so this
&lt;br&gt;method always returns &amp;lt;tt&amp;gt;null&amp;lt;/tt&amp;gt;.&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp; name &amp;nbsp;The name of the parameter to be returned
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;the parameter with the given name
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getParameter(String name) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;enter getParameter(&amp;quot; + name + &amp;quot;)&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (name == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new IllegalArgumentException(&amp;quot;Parameter name may not be
&lt;br&gt;null&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Returns &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;. Negotiate authentication scheme is connection
&lt;br&gt;based.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;&amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since &amp;nbsp; 3.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isConnectionBased() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.info(&amp;quot;enter isConnectionBased()&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Produces Negotiate authorization string based on token created by
&lt;br&gt;processChallenge.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp; credentials &amp;nbsp;Never used be the Negotiate scheme but must be
&lt;br&gt;provided to satisfy common-httpclient API.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Credentials from JAAS will be used insted.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @param &amp;nbsp; method &amp;nbsp; &amp;nbsp; &amp;nbsp; The method being authenticated
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @return &amp;nbsp;an Negotiate authorization string
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @throws &amp;nbsp;AuthenticationException &amp;nbsp;if authorization string cannot be
&lt;br&gt;generated due to an authentication failure
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @since &amp;nbsp; 4.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public Header authenticate(Credentials credentials, HttpRequest request)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws AuthenticationException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;enter NegotiateScheme.authenticate(Credentials,
&lt;br&gt;HttpMethod)&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (state == UNINITIATED) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new IllegalStateException(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Negotiation authentication process has not been
&lt;br&gt;initiated&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (context == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Header host = request.getFirstHeader(&amp;quot;Host&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (host != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.info(&amp;quot;host: &amp;quot; + host);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init(host.getValue());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new AuthenticationException(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Failed to get host name from header parameters&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (AuthenticationException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw e;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.error(e.getMessage());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Failure trace&amp;quot;, e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state = FAILED;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new AuthenticationException(e.getMessage());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // HTTP 1.1 issue:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Mutual auth will never complete do to 200 insted of 401 in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // return from server. &amp;quot;state&amp;quot; will never reach ESTABLISHED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // but it works anyway
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; token = context.initSecContext(token, 0, token.length);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.info(&amp;quot;got token, sending &amp;quot; + token.length + &amp;quot; to server&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (GSSException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.error(e.getMessage());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Failure trace&amp;quot;, e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state = FAILED;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((e.getMajor() == GSSException.DEFECTIVE_CREDENTIAL) ||
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (e.getMajor() == GSSException.CREDENTIALS_EXPIRED)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new InvalidCredentialsException(e.getMessage(), e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e.getMajor() == GSSException.NO_CRED) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new InvalidCredentialsException(e.getMessage(), e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((e.getMajor() == GSSException.DEFECTIVE_TOKEN) ||
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (e.getMajor() == GSSException.DUPLICATE_TOKEN) ||
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (e.getMajor() == GSSException.OLD_TOKEN)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new InvalidCredentialsException(e.getMessage(), e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // other error
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new AuthenticationException(e.getMessage());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new BasicHeader(AUTH.WWW_AUTH_RESP,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Negotiate &amp;quot; + new String(new Base64().encode(token)));
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setServicePrefix(String servicePrefix) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.servicePrefix = servicePrefix;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NegotiateAuth-for-HttpClient-4.x-tp26405640p26405640.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388688</id>
	<title>[jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown</title>
	<published>2009-11-17T03:52:39Z</published>
	<updated>2009-11-17T03:52:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778833#action_12778833&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778833#action_12778833&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;shyam sundar g commented on HTTPCLIENT-891:
&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;Since this activity was in the process of fixing the socket connection failure i raised this query in this report.
&lt;br&gt;OK i will raise in it other forums to seek support. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented thrown
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-891
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Application Server : Websphere application server 6.1.0.23
&lt;br&gt;&amp;gt; Java : JDK 1.5.0.16
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: shyam sundar g
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0 Final
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 0h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 0h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
&lt;br&gt;&amp;gt; When i tried to connect i get the exception &amp;quot;java.net.SocketException: Unconnected sockets not implemented&amp;quot;.
&lt;br&gt;&amp;gt; Please look at the stack trace
&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented
&lt;br&gt;&amp;gt; 	at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;&amp;gt; 	at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;&amp;gt; 	at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;&amp;gt; 	at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;&amp;gt; 	at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;&amp;gt; 	at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&amp;gt; The same error is found while using HTTP Client 3.1.
&lt;br&gt;&amp;gt; Kindly help to solve this problem as the production deployment is delayed because of this error.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388688&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388688&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-891%29-java.net.SocketException%3A-Unconnected-sockets-not-implemented-thrown-tp26363890p26388688.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386705</id>
	<title>[jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown</title>
	<published>2009-11-17T01:24:39Z</published>
	<updated>2009-11-17T01:24:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778786#action_12778786&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778786#action_12778786&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ortwin Glück commented on HTTPCLIENT-891:
&lt;br&gt;-----------------------------------------
&lt;br&gt;&lt;br&gt;Shyam, your last comment has nothing to do with the original bug report. Please don't hijack the topic and use the mailing lists.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented thrown
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-891
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Application Server : Websphere application server 6.1.0.23
&lt;br&gt;&amp;gt; Java : JDK 1.5.0.16
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: shyam sundar g
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0 Final
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 0h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 0h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
&lt;br&gt;&amp;gt; When i tried to connect i get the exception &amp;quot;java.net.SocketException: Unconnected sockets not implemented&amp;quot;.
&lt;br&gt;&amp;gt; Please look at the stack trace
&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented
&lt;br&gt;&amp;gt; 	at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;&amp;gt; 	at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;&amp;gt; 	at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;&amp;gt; 	at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;&amp;gt; 	at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;&amp;gt; 	at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&amp;gt; The same error is found while using HTTP Client 3.1.
&lt;br&gt;&amp;gt; Kindly help to solve this problem as the production deployment is delayed because of this error.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386705&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386705&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-891%29-java.net.SocketException%3A-Unconnected-sockets-not-implemented-thrown-tp26363890p26386705.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26382685</id>
	<title>[jira] Closed: (HTTPCLIENT-890) CLONE -Allow configuration of SO_LINGER (client socket close ReSet)</title>
	<published>2009-11-16T17:01:43Z</published>
	<updated>2009-11-16T17:01:43Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;thinker0 closed HTTPCLIENT-890.
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks. ^^;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; CLONE -Allow configuration of SO_LINGER (client socket close ReSet)
&lt;br&gt;&amp;gt; -------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-890
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-890&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-890&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Operating System: All
&lt;br&gt;&amp;gt; Platform: All
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: thinker0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is currently no way to configure the SO_LINGER option on a socket.
&lt;br&gt;&amp;gt; Please change the HttpClient class to allow the configuration of the SO_LINGER
&lt;br&gt;&amp;gt; option on a socket, similar to the way the SO_TIMEOUT can be configured.
&lt;br&gt;&amp;gt; Suggested extension to the interface of the HttpClient class:
&lt;br&gt;&amp;gt; - Add method setSoLinger() to set the current setting for SO_LINGER. The method
&lt;br&gt;&amp;gt; could accept one argument. A negative value could indicate that the SO_LINGER
&lt;br&gt;&amp;gt; should be disabled.
&lt;br&gt;&amp;gt; - Add method getSoLinger() that returns the current setting for SO_LINGER. A
&lt;br&gt;&amp;gt; negative value would indicate that the SO_LINGER option is disabled.
&lt;br&gt;&amp;gt; See:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setSoLinger(boolean,%20int&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setSoLinger(boolean,%20int&lt;/a&gt;)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26382685&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26382685&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-890%29-CLONE--Allow-configuration-of-SO_LINGER-%28client-socket-close-ReSet%29-tp26319198p26382685.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381637</id>
	<title>[jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown</title>
	<published>2009-11-16T15:17:39Z</published>
	<updated>2009-11-16T15:17:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778638#action_12778638&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778638#action_12778638&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;shyam sundar g commented on HTTPCLIENT-891:
&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;Hi,I used HTTPPost method to connect to the server and it was working.
&lt;br&gt;So we decided to migrate to HTTPClient 4.0 now.
&lt;br&gt;&lt;br&gt;I have a doubt here.How to mention the target path in the destination server 
&lt;br&gt;where the file uploaded should be saved.
&lt;br&gt;&lt;br&gt;In HTTPClient 3.1 the target path can be mentioned in MultiPartPost constructor method but in HTTPCLient 4 this class is removed.
&lt;br&gt;&lt;br&gt;Can i use MultiPartEntity object to mention the target path
&lt;br&gt;&lt;br&gt;Thankls for the support.
&lt;br&gt;&lt;br&gt;Thanks 
&lt;br&gt;Shyam
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented thrown
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-891
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Application Server : Websphere application server 6.1.0.23
&lt;br&gt;&amp;gt; Java : JDK 1.5.0.16
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: shyam sundar g
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0 Final
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 0h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 0h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
&lt;br&gt;&amp;gt; When i tried to connect i get the exception &amp;quot;java.net.SocketException: Unconnected sockets not implemented&amp;quot;.
&lt;br&gt;&amp;gt; Please look at the stack trace
&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented
&lt;br&gt;&amp;gt; 	at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;&amp;gt; 	at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;&amp;gt; 	at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;&amp;gt; 	at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;&amp;gt; 	at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;&amp;gt; 	at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&amp;gt; The same error is found while using HTTP Client 3.1.
&lt;br&gt;&amp;gt; Kindly help to solve this problem as the production deployment is delayed because of this error.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381637&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381637&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-891%29-java.net.SocketException%3A-Unconnected-sockets-not-implemented-thrown-tp26363890p26381637.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26380653</id>
	<title>[REPORT] HttpComponents PMC - November 2009</title>
	<published>2009-11-16T14:14:59Z</published>
	<updated>2009-11-16T14:14:59Z</updated>
	<author>
		<name>Erik Abele</name>
	</author>
	<content type="html">Status report for the Apache HttpComponents project - 11/2009
&lt;br&gt;-------------------------------------------------------------
&lt;br&gt;&lt;br&gt;-- Status --
&lt;br&gt;&lt;br&gt;The project in general is floating along very smoothly; there are no
&lt;br&gt;issues requiring the attention of the board.
&lt;br&gt;&lt;br&gt;-- Releases --
&lt;br&gt;&lt;br&gt;We have had one release since the last report:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;13 September 2009 - HttpComponents HttpCore 4.1 Alpha 1
&lt;br&gt;&lt;br&gt;-- Community --
&lt;br&gt;&lt;br&gt;There were no changes in the composition of the committership since
&lt;br&gt;the last report.
&lt;br&gt;&lt;br&gt;-- Development --
&lt;br&gt;&lt;br&gt;Development has slowed down a tiny bit after having reached two major
&lt;br&gt;milestones (HttpCore 4.0 &amp; HttpClient 4.0) recently.
&lt;br&gt;&lt;br&gt;Nevertheless, the first steps towards HttpCore 4.1 have been taken and
&lt;br&gt;development activity is starting to pick up again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380653&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380653&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-REPORT--HttpComponents-PMC---November-2009-tp26380653p26380653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374762</id>
	<title>[jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown</title>
	<published>2009-11-16T08:21:39Z</published>
	<updated>2009-11-16T08:21:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778383#action_12778383&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778383#action_12778383&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ortwin Glück commented on HTTPCLIENT-891:
&lt;br&gt;-----------------------------------------
&lt;br&gt;&lt;br&gt;As you can see from the stack, the exception is from the JDK implementation. You must refer to the documentation of your vendor's JSSE implementation. We have no magic glass ball that could tell us those details.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented thrown
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-891
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Application Server : Websphere application server 6.1.0.23
&lt;br&gt;&amp;gt; Java : JDK 1.5.0.16
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: shyam sundar g
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0 Final
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 0h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 0h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
&lt;br&gt;&amp;gt; When i tried to connect i get the exception &amp;quot;java.net.SocketException: Unconnected sockets not implemented&amp;quot;.
&lt;br&gt;&amp;gt; Please look at the stack trace
&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented
&lt;br&gt;&amp;gt; 	at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;&amp;gt; 	at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;&amp;gt; 	at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;&amp;gt; 	at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;&amp;gt; 	at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;&amp;gt; 	at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&amp;gt; The same error is found while using HTTP Client 3.1.
&lt;br&gt;&amp;gt; Kindly help to solve this problem as the production deployment is delayed because of this error.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374762&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374762&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-891%29-java.net.SocketException%3A-Unconnected-sockets-not-implemented-thrown-tp26363890p26374762.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374290</id>
	<title>[jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown</title>
	<published>2009-11-16T07:53:39Z</published>
	<updated>2009-11-16T07:53:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778379#action_12778379&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778379#action_12778379&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;shyam sundar g commented on HTTPCLIENT-891:
&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;hi,
&lt;br&gt;Thanks for your response.
&lt;br&gt;&lt;br&gt;I reused the StrictSSLProtocolSocketFactory class and tried to connect to the server.The following exception
&lt;br&gt;is thrown.
&lt;br&gt;java.net.SocketException
&lt;br&gt;at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
&lt;br&gt;at co.com.personalsoft.ftpseguro.utilidades.StrictSSLProtocolSocketFactory.createSocket(StrictSSLProtocolSocketFactory.java:181)
&lt;br&gt;at co.com.personalsoft.ftpseguro.utilidades.StrictSSLProtocolSocketFactory.createSocket(StrictSSLProtocolSocketFactory.java:291)
&lt;br&gt;at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:145)
&lt;br&gt;at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&lt;br&gt;I tried the configuration test program given in the link &amp;nbsp;&lt;a href=&quot;http://hc.apache.org/httpclient-3.x/sslguide.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hc.apache.org/httpclient-3.x/sslguide.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;The line given below throwed exception.When i analysed this problem it is the createSocket method
&lt;br&gt;throwing the exception NULL(returned by ex.getMessage() method).
&lt;br&gt;&lt;br&gt;Socket socket = SSLSocketFactory.getDefault().
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;createSocket(TARGET_HTTPS_SERVER, TARGET_HTTPS_PORT);
&lt;br&gt;&lt;br&gt;So the problem occurs when i try creating a socket to the destination server.
&lt;br&gt;&lt;br&gt;Please let me know where the problem could be.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented thrown
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: HTTPCLIENT-891
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/HTTPCLIENT-891&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/HTTPCLIENT-891&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: HttpComponents HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: HttpClient
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 4.0 Final
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Application Server : Websphere application server 6.1.0.23
&lt;br&gt;&amp;gt; Java : JDK 1.5.0.16
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: shyam sundar g
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 4.0 Final
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 0h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 0h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
&lt;br&gt;&amp;gt; When i tried to connect i get the exception &amp;quot;java.net.SocketException: Unconnected sockets not implemented&amp;quot;.
&lt;br&gt;&amp;gt; Please look at the stack trace
&lt;br&gt;&amp;gt; java.net.SocketException: Unconnected sockets not implemented
&lt;br&gt;&amp;gt; 	at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:196)
&lt;br&gt;&amp;gt; 	at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41)
&lt;br&gt;&amp;gt; 	at java.io.IOException.&amp;lt;init&amp;gt;(IOException.java:40)
&lt;br&gt;&amp;gt; 	at java.net.SocketException.&amp;lt;init&amp;gt;(SocketException.java:29)
&lt;br&gt;&amp;gt; 	at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
&lt;br&gt;&amp;gt; 	at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
&lt;br&gt;&amp;gt; 	at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&amp;gt; The same error is found while using HTTP Client 3.1.
&lt;br&gt;&amp;gt; Kindly help to solve this problem as the production deployment is delayed because of this error.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374290&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374290&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28HTTPCLIENT-891%29-java.net.SocketException%3A-Unconnected-sockets-not-implemented-thrown-tp26363890p26374290.html" />
</entry>

</feed>
