Re: patch about "INFO: Response content length is not known" in common-httpclient-3.1

2009-09-09 Thread ning sun
Why 3.x wasn't? 2009/9/9 Oleg Kalnichevski > On Wed, Sep 09, 2009 at 06:09:44PM +0800, ning sun wrote: > > > http://mail-archives.apache.org/mod_mbox/hc-dev/200408.mbox/%3c825bf35a92b3f0479cc164ecbbe9376ee3b...@kccxoex06.corp.kpmgconsulting.com%3e > > > > Our customer want to suppress the log("I

[jira] Commented: (HTTPCLIENT-876) Calling httpClient.execute(post) on a shared server causes security error (WRITE not allowed to protected area on disk)

2009-09-09 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753360#action_12753360 ] Sebb commented on HTTPCLIENT-876: - When HC is run under Tomcat, it has to rely on the T

[jira] Commented: (HTTPCLIENT-876) Calling httpClient.execute(post) on a shared server causes security error (WRITE not allowed to protected area on disk)

2009-09-09 Thread Clifford (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753350#action_12753350 ] Clifford commented on HTTPCLIENT-876: - I don't agree. If you examine the Google se

[jira] Commented: (HTTPCLIENT-814) MultiThreadedHttpConnectionManager deadlocks when reusing socket connections

2009-09-09 Thread hector rovira (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753325#action_12753325 ] hector rovira commented on HTTPCLIENT-814: -- I have been able to reproduce this

[jira] Commented: (HTTPCLIENT-876) Calling httpClient.execute(post) on a shared server causes security error (WRITE not allowed to protected area on disk)

2009-09-09 Thread Sam Berlin (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753280#action_12753280 ] Sam Berlin commented on HTTPCLIENT-876: --- This is not an error in HttpComponents.

[jira] Created: (HTTPCLIENT-876) Calling httpClient.execute(post) on a shared server causes security error (WRITE not allowed to protected area on disk)

2009-09-09 Thread Clifford (JIRA)
Calling httpClient.execute(post) on a shared server causes security error (WRITE not allowed to protected area on disk) --- Key: HTTPCLIENT-876 URL

[jira] Resolved: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-875. -- Resolution: Fixed Fix Version/s: (was: 4.0.1) Fixed in SVN trunk

Re: Maven Bundle Plugin 2.0.0 available, but requires Java 1.5

2009-09-09 Thread Oleg Kalnichevski
sebb wrote: I've been using mvn versions:display-plugin-updates to show which plugins don't have versions specified. [versions is a very useful Maven plugin] Looks very useful indeed. This shows that the Bundle plugin 2.0.0 exists - we are using 1.4.3. Now Bundle 2.0.0 requires Java

Maven Bundle Plugin 2.0.0 available, but requires Java 1.5

2009-09-09 Thread sebb
I've been using mvn versions:display-plugin-updates to show which plugins don't have versions specified. [versions is a very useful Maven plugin] This shows that the Bundle plugin 2.0.0 exists - we are using 1.4.3. Now Bundle 2.0.0 requires Java 1.5, so I'm a bit wary about updating the ve

Re: [VOTE] HttpComponents Core 4.1-alpha1 release

2009-09-09 Thread sebb
On 06/09/2009, Oleg Kalnichevski wrote: > Please vote on releasing these packages as HttpComponents Core 4.1-alpha1. > The vote is open for the next 72 hours, and only votes from HttpComponents > PMC members are binding. The vote passes if at least three binding +1 votes > are cast and there are m

Re: Preemptive Authentication

2009-09-09 Thread Oleg Kalnichevski
On Wed, Sep 09, 2009 at 08:05:34AM -0700, Pankaj Arora wrote: > I understand but we are in middle of a release and moving to 4.x is > major rework due to change in Api's and all. > Can you please answer my question in 3.x context? > The only thing I am worried about is why proxy basic auth is not >

RE: Preemptive Authentication

2009-09-09 Thread Pankaj Arora
I understand but we are in middle of a release and moving to 4.x is major rework due to change in Api's and all. Can you please answer my question in 3.x context? The only thing I am worried about is why proxy basic auth is not behaving properly in preemptive auth i.e why the credentials are not se

[jira] Commented: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Connell Gauld (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753116#action_12753116 ] Connell Gauld commented on HTTPCLIENT-875: -- Yup, this appears to work for me.

Re: Define plugin versions in parent POM?

2009-09-09 Thread sebb
On 09/09/2009, Oleg Kalnichevski wrote: > On Wed, Sep 09, 2009 at 09:51:13AM +0100, sebb wrote: > > Very few of the Maven plugins used by HC builds have their version > > numbers specified. > > > > This means that builds are not necessarily reproducible/predictable. > > > > Rather than defin

[jira] Updated: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-875: - Priority: Major (was: Minor) Affects Version/s: (was: 4.1.0)

[jira] Updated: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-875: - Attachment: HTTPCLIENT-875-2.patch How about a slightly different take? Pleas

[jira] Updated: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Connell Gauld (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCLIENT-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Connell Gauld updated HTTPCLIENT-875: - Attachment: HTTPCLIENT-875.diff A patch that appears to solve the issue. > DefaultCl

[jira] Created: (HTTPCLIENT-875) DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...)

2009-09-09 Thread Connell Gauld (JIRA)
DefaultClientConnectionOperator doesn't update socket after call to connectSocket(...) -- Key: HTTPCLIENT-875 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-875

Re: patch about "INFO: Response content length is not known" in common-httpclient-3.1

2009-09-09 Thread Oleg Kalnichevski
On Wed, Sep 09, 2009 at 06:09:44PM +0800, ning sun wrote: > http://mail-archives.apache.org/mod_mbox/hc-dev/200408.mbox/%3c825bf35a92b3f0479cc164ecbbe9376ee3b...@kccxoex06.corp.kpmgconsulting.com%3e > > Our customer want to suppress the log("INFO: Response content length is not > known") when conn

Re: Preemptive Authentication

2009-09-09 Thread Oleg Kalnichevski
On Wed, Sep 09, 2009 at 02:55:02AM -0700, Pankaj Arora wrote: > Hi, > I want to do preemptive authentication in Http ands as per as the auth > guide > http://hc.apache.org/httpclient-3.x/authentication.html#Preemptive_Authe > ntication I have set the option > client.getParams().setAuthenticationPre

Re: Define plugin versions in parent POM?

2009-09-09 Thread Oleg Kalnichevski
On Wed, Sep 09, 2009 at 09:51:13AM +0100, sebb wrote: > Very few of the Maven plugins used by HC builds have their version > numbers specified. > > This means that builds are not necessarily reproducible/predictable. > > Rather than defining plugin versions within individual POMs, perhaps > it wo

Re: Calculating Message Size

2009-09-09 Thread Oleg Kalnichevski
On Wed, Sep 09, 2009 at 12:00:25PM +0530, Hiranya Jayathilaka wrote: > Hi Devs, > > Is there a way to get the message size (in bytes) from a HttpRequest object? > What is the right way to go about doing this? > > Thanks > Hiranya, HttpEntity#getContentLength() is what you want. If this method r

patch about "INFO: Response content length is not known" in common-httpclient-3.1

2009-09-09 Thread ning sun
http://mail-archives.apache.org/mod_mbox/hc-dev/200408.mbox/%3c825bf35a92b3f0479cc164ecbbe9376ee3b...@kccxoex06.corp.kpmgconsulting.com%3e Our customer want to suppress the log("INFO: Response content length is not known") when connecting to web service via proxy, he ask me to add this patch. I no

Preemptive Authentication

2009-09-09 Thread Pankaj Arora
Hi, I want to do preemptive authentication in Http ands as per as the auth guide http://hc.apache.org/httpclient-3.x/authentication.html#Preemptive_Authe ntication I have set the option client.getParams().setAuthenticationPreemptive(true); I observed that in case of the server the basic credentials

Define plugin versions in parent POM?

2009-09-09 Thread sebb
Very few of the Maven plugins used by HC builds have their version numbers specified. This means that builds are not necessarily reproducible/predictable. Rather than defining plugin versions within individual POMs, perhaps it would be better to centralise the versions in the parent POM pluginMan