Travel Assistance applications for ApacheCon NA 2018 are now open!

2018-02-19 Thread Sebb
The Travel Assistance Committee (TAC) are pleased to announce that travel assistance applications for ApacheCon NA 2018 are now open! We will be supporting ApacheCon NA Montreal, Canada on 24th - 29th September 2018 TAC exists to help those that would like to attend ApacheCon events, but are

Re: Backward compatibility report

2016-06-07 Thread sebb
On 6 June 2016 at 16:09, Ponomarenko Andrey wrote: > Hello, > > I've prepared backward compatibility reports for HttpClient and HttpCore > libraries: > > http://abi-laboratory.pro/java/tracker/timeline/httpclient/ >

Re: https://hc.apache.org/downloads.cgi points to wrong version of HttpClient 4.5 release notes

2015-07-04 Thread sebb
Thanks; fixed on the site (but whatever generated it needs to be changed) On 4 July 2015 at 15:07, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, On : https://hc.apache.org/downloads.cgi When you click on HttpClient 4.5 (GA) Release notes You get the release notes of 4.4.1:

Re: Java 1.7 for 5.0 ? (was: HttpClient v4.x deprecations)

2014-09-26 Thread sebb
support. Gary On Thu, Sep 25, 2014 at 6:45 PM, sebb seb...@gmail.com wrote: On 25 September 2014 19:47, Gary Gregory garydgreg...@gmail.com wrote: I do like programming with try-with-resources, feels safer, warm and fuzzy. However, there are other ways to achieve resource cleanup which

Java 1.7 for 5.0 ? (was: HttpClient v4.x deprecations)

2014-09-25 Thread sebb
On 25 September 2014 10:17, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2014-09-24 at 17:45 -0400, Todd W Lainhart wrote: ... Also I'm recalling minimum JVM versions for HttpComponents being discussed and polled. Was it 1.6 or 1.7 that was decided upon for subsequent releases (e.g.

Re: Java 1.7 for 5.0 ? (was: HttpClient v4.x deprecations)

2014-09-25 Thread sebb
not been closed. So I would not regard that as a reason to require 1.7 Gary On Thu, Sep 25, 2014 at 2:45 PM, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2014-09-25 at 18:17 +0100, sebb wrote: On 25 September 2014 10:17, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2014-09-24

Re: Regarding CVE-2012-5783 in commons-httpclient-3.1.jar

2014-08-06 Thread sebb
On 6 August 2014 06:46, Ruchika Mahajan ruchika.mahaja...@gmail.com wrote: Thanks Oleg. S, does that mean the only solution for removing this vulnerability is to upgrade HC 3.1 to 4.x. That is one solution. The source for HC 3.1 is available, so you can apply your own fixes if you wish.

Re: [ANNOUNCEMENT] HttpComponents Client for Android 4.3.3 Released

2014-06-20 Thread sebb
On 20 June 2014 19:14, bfarache bruno.fara...@liferay.com wrote: Hi, I've added httpclient-android as dependency to my project. I've tried to check if it was using it instead of the Http Client classes inside Please start a new thread for a new subject, and use a suitable new subject that

ApacheCon CFP closes June 25

2014-06-13 Thread sebb
Dear Apache HttpComponents enthusiast, As you may be aware, ApacheCon will be held this year in Budapest, on November 17-23. (See http://apachecon.eu for more info.) The Call For Papers for that conference is still open, but will be closing soon. We need you talk proposals, to represent

Re: httpClient.getConnectionManager() performance with HTTP only

2014-05-15 Thread sebb
On 14 May 2014 12:28, Oleg Kalnichevski ol...@apache.org wrote: On Tue, 2014-05-13 at 23:59 +0200, Philippe Mouawad wrote: Hello, We have a report of Performance issue when using HttpClient4 with HTTP. User noticed cacert was read very frequently. I traced the calls and it is due to :

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-15 Thread sebb
Also remember that JMeter has a Use keepalive option on the HTTP Sampler GUI. If unchecked, JMeter will send Connection: close (or equivalent) as part of the request. [This does not work reliably for Java HTTP because the connections may be pooled] On 15 February 2014 15:01, Philippe Mouawad

Re: ZeroCopyPut mystery

2014-01-16 Thread sebb
On 16 January 2014 16:54, Boxer, Aaron aaron.bo...@uhn.ca wrote: On 16 January 2014 16:35, Boxer, Aaron aaron.bo...@uhn.ca wrote: Thanks, Oleg. I am not trying to criticize the project in any way; just wondering if anyone has insight into why, on Windows, Java NIO is so much slower than

Re: adding interceptors on per request basis (was Re: Unable to see response encoding even through Content-Encoding header is present)

2014-01-09 Thread sebb
On 9 January 2014 09:06, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2014-01-08 at 18:29 -0800, Gaurav Kumar wrote: Thanks! I am now able to see content-encoding. However, the example I followed showed how to add interceptors on global client instance level - is there a way I can add

Re: adding interceptors on per request basis (was Re: Unable to see response encoding even through Content-Encoding header is present)

2014-01-09 Thread sebb
On 9 January 2014 12:22, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2014-01-09 at 12:10 +, sebb wrote: On 9 January 2014 09:06, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2014-01-08 at 18:29 -0800, Gaurav Kumar wrote: Thanks! I am now able to see content-encoding. However

Re: Compiling core and client with target Java 1.6 classfile format

2013-10-01 Thread sebb
On 1 October 2013 16:36, Christopher BROWN br...@reflexe.fr wrote: Thanks for the link Oleg. Having followed it, and not being an avid Maven user, I assume that I need to add something like this: properties maven.compiler.source1.5/maven.compiler.source

Re: [POLL] Minimal JRE level as of HttpClient 4.4

2013-09-20 Thread sebb
On 16 September 2013 13:02, Oleg Kalnichevski ol...@apache.org wrote: Folks, Java 1.5 compatibility has become increasing difficult to maintain and increasing pointless on top of that. We, as a project, have been thinking about upgrading minimal JRE level requirement for the HttpClient 4.4

Re: MD5 provided for httpcomponents-client-4.2.5-bin.zip does not match

2013-07-12 Thread sebb
On 12 July 2013 17:35, Raghu S mails2ra...@ymail.com wrote: I downloaded httpcomponents-client-4.2.5-bin.zip and used an md5 program which gave its md5 as a689d41dee64e8f1dfe9618e642ec260 but in the md5 file I dowloaded, it starts with 363e Works OK for me. Where did you download the

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-26 Thread sebb
On 25 April 2013 15:40, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2013-04-25 at 15:26 +0100, sebb wrote: On 25 April 2013 14:45, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2013-04-25 at 13:28 +0100, sebb wrote: On 25 April 2013 12:26, Oleg Kalnichevski ol...@apache.org

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-25 Thread sebb
On Wed, Apr 24, 2013 at 4:00 PM, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2013-04-24 at 13:02 +0100, sebb wrote: On 24 April 2013 12:18, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2013-04-24 at 12:58 +0200, Philippe Mouawad wrote: Hello, Just

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-25 Thread sebb
On 25 April 2013 12:03, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2013-04-25 at 11:40 +0100, sebb wrote: On 25 April 2013 11:22, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2013-04-24 at 21:34 +0200, Philippe Mouawad wrote: Sorry Oleg, I mixed up my question. So

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-25 Thread sebb
On 25 April 2013 14:45, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2013-04-25 at 13:28 +0100, sebb wrote: On 25 April 2013 12:26, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2013-04-25 at 12:13 +0100, sebb wrote: On 25 April 2013 12:03, Oleg Kalnichevski ol...@apache.org

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-24 Thread sebb
On 24 April 2013 12:18, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2013-04-24 at 12:58 +0200, Philippe Mouawad wrote: Hello, Just a clarification, does HTTPCLIENT-1340https://issues.apache.org/jira/browse/HTTPCLIENT-1340 affects 4.2.3 ? JIRA indicates 4.2.3 Beta. The bug

Re: [Asking]About HttpClient 4.2.4 Release

2013-04-22 Thread sebb
On 22 April 2013 10:05, Oleg Kalnichevski ol...@apache.org wrote: On Mon, 2013-04-22 at 15:43 +0900, Tang Yong wrote: Hi Asankha, I made a confirmation for [1], maybe because I am in China, while accessing [1], automatically selecting a most nearest mirror

Re: [Asking]About HttpClient 4.2.4 Release

2013-04-22 Thread sebb
On 22 April 2013 11:21, Oleg Kalnichevski ol...@apache.org wrote: On Mon, 2013-04-22 at 11:03 +0100, sebb wrote: On 22 April 2013 10:05, Oleg Kalnichevski ol...@apache.org wrote: On Mon, 2013-04-22 at 15:43 +0900, Tang Yong wrote: Hi Asankha, I made a confirmation for [1

Re: Error trying to download a Gzip file.

2013-04-03 Thread sebb
On 2 April 2013 22:28, S.L simpleliving...@gmail.com wrote: Thanks Stephen .I completely agree with you , I am just accessing publicly available data , one thing that I would like to mention though is that I get the following warning every time this happens . *Invalid cookie header:

Re: Unit test failure

2013-01-15 Thread sebb
On 15 January 2013 17:45, Mark Claassen ma...@donnell.com wrote: I will get a unit test failure in the same place. Any ideas? Running org.apache.http.impl.client.TestRequestRetryHandler Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running

Re: Unit test failure

2013-01-15 Thread sebb
) at org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(TestStatefulConnManagement.java:177) /error /testcase Try running just that test case: mvn test -Dtest=TestStatefulConnManagement What JVM and OS are you using? -Original Message- From: sebb [mailto:seb...@gmail.com

Re: On Linux, Java issues reverse DNS lookups when a socket is opened.

2013-01-05 Thread sebb
According to the latest post [1]: In the end, the only real problem was that I was not giving tcpdump the -n option. The reverse lookup I was observing were just tcpdump's. i.e. not a problem. [1] http://stackoverflow.com/a/14150693 On 30 December 2012 16:59, vigna vi...@di.unimi.it wrote: I

Re: HTTP Async Client - Address already in use with

2012-11-02 Thread sebb
On 2 November 2012 19:58, Mark Greene mgre...@hubspot.com wrote: I'm running into an issue where after making about 20k requests to a single host (200 concurrently) I start seeing these exceptions' java.net.BindException: Address already in use at sun.nio.ch.Net.connect(Native Method) at

Re: Issue with NTLM proxy authentication over Https

2012-10-12 Thread sebb
On 12 October 2012 12:10, anir . anir1...@gmail.com wrote: Thanks For your reply Oleg. I tried out ProxyClient as mentioned by you and it seems to work :). But i get the following lines in as warnings in my log files :- *2012-10-12 16:17:56,539 WARN [http-8443-Processor68]

Re: [ANNOUNCEMENT] HttpComponents HttpAsyncClient 4.0-beta2 Released

2012-08-09 Thread sebb
On 9 August 2012 19:36, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2012-08-09 at 12:02 -0400, Gary Gregory wrote: On Thu, Aug 9, 2012 at 11:19 AM, Oleg Kalnichevski ol...@apache.org wrote: On Thu, 2012-08-09 at 11:11 -0400, Saptharishi Easwaran wrote: Hi, Does this

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
On 1 August 2012 12:08, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: Hi Oleg, My application is reading many other URLs before this one. So maybe it's a combination of multiple loads. I will try to dump more when I will get the issue again. In the meantime, here is how I'm

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
a list entry could be set to null later. It would be worth enabling Debug logging for the RequestAddCookies class. What JVM are you using? 2012/8/2, sebb seb...@gmail.com: On 1 August 2012 12:08, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: Hi Oleg, My application is reading many other

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
at if (!matchedCookies.isEmpty()) I will restart my tool with the debug mode enabled and keep you posted. 2012/8/2, sebb seb...@gmail.com: On 2 August 2012 19:03, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: I'm using version 4.2.1 binary distribution. In which case the NPE is very odd. The stack

Re: Frequent JVM EXCEPTION_ACCESS_VIOLATION error related to httpClientcookies

2012-07-06 Thread sebb
On 6 July 2012 15:15, Steven Bishop sb1...@cs.ship.edu wrote: Hello, I am in need of assistance on a Fatal JVM error thrown: # Problematic frame: # J org.apache.http.impl.cookie.BestMatchSpec.formatCookies(Ljava/util/List;)Ljava/util/List; I did some research and found recently crawler4j

Re: A problem with array parameter in form

2012-04-15 Thread sebb
On 15 April 2012 15:28, tomm tommm...@gmail.com wrote: There is a form, that contains an array parameter: input id=T7 maxlength=5 name=file[] type=file And I tried setting it with:        FileBody bin = new FileBody(fileToUpload);        reqEntity.addPart(file[], bin); // in case of

Re: Support for 4.1.3 in Maven Central

2012-03-14 Thread sebb
For completeness: The artifactId httpcomponents-client is used for the parent pom, one of whose modules is httpclient. On 14 March 2012 15:39, Alexey Panchenko alex.panche...@gmail.com wrote: It should be artifactIdhttpclient/artifactId Regards, Alex On Wed, Mar 14, 2012 at 22:35, Robert

Re: Possibility of using non-blocking calls for connection pools?

2012-01-06 Thread sebb
On 6 January 2012 22:07, Ken Krugler kkrugler_li...@transpac.com wrote: On Jan 6, 2012, at 1:01pm, Oleg Kalnichevski wrote: On Fri, 2012-01-06 at 11:06 -0500, Dan Checkoway wrote: Hello, I have an app that needs to make concurrent HTTP requests to a web service using persistent (keepalive)

Re: Failed to run ClientFormLogin example

2011-11-29 Thread sebb
On 29 November 2011 05:07, Shang Yuan Zhu zhu...@cn.ibm.com wrote: [Please use plain-text format mails] Hi, When I try to run the ClientFormLogin example, I encounter the following exception: The exception thrown while running the example: Exception in thread main

Re: JAVA Client on Windows 7 talking to ISS 6 with no HTTPs but Integrated Windows Authentication turned ON

2011-11-29 Thread sebb
On 29 November 2011 14:18, Milind Kadam kadam.mil...@gmail.com wrote: Hi Oleg, I could get the ClientAuthenticaiton working after I moved my web server to different machine. But after setting this web server behind firewall; I get Connection timed out: connect. That should be a big clue. It

Re: JAVA Client on Windows 7 talking to ISS 6 with no HTTPs but Integrated Windows Authentication turned ON

2011-11-29 Thread sebb
at 10:35 AM, sebb seb...@gmail.com wrote: On 29 November 2011 14:18, Milind Kadam kadam.mil...@gmail.com wrote: Hi Oleg, I could get the ClientAuthenticaiton working after I moved my web server to different machine. But after setting this web server behind firewall; I get Connection

Re: JAVA Client on Windows 7 talking to ISS 6 with no HTTPs but Integrated Windows Authentication turned ON

2011-11-29 Thread sebb
AM, Milind Kadam kadam.mil...@gmail.comwrote: Yes, because the browsers can access same URL; unless I am missing majorly something. --Milind On Tue, Nov 29, 2011 at 10:35 AM, sebb seb...@gmail.com wrote: On 29 November 2011 14:18, Milind Kadam kadam.mil...@gmail.com wrote: Hi Oleg

Re: HttpClient-Cache release that works against HttpClient 4.0?

2011-11-09 Thread sebb
On 9 November 2011 04:05, candrews candr...@integralblue.com wrote: Maven Shade isn't compatible with maven-android-plugin: https://code.google.com/p/maven-android-plugin/issues/detail?id=170 Perhaps when that is resolved, Shade will be a solution for Maven users. But what about Ant users

Re: Broken BasicResponseHandler

2011-10-06 Thread sebb
On 6 October 2011 23:29, David Hosier hosier.da...@me.com wrote: How does this look? Diff is attached. No attachment seen here; mailing list tends to drop them. Patches are best provided as attachments to a JIRA issue please. On Thursday, October 6, 2011 at 3:13 PM, David Hosier wrote: Ok,

Re: Transfer Encoding chunked

2011-09-09 Thread sebb
On 9 September 2011 18:08, Sudeep Pradhan pradh...@vmware.com wrote: But why does the same HTTP GET request work with curl. What is the difference? I get the correct chunked response with curl 7.21.6. I have posted the curl wire log in the previous email. The curl response includes

Re: HttpClient as java.net.URLConnection

2011-09-05 Thread sebb
On 5 September 2011 19:44, Juergen Weber webe...@gmail.com wrote: you're suggesting you wrap: HttpClient classes HttpURLConnection HessianConnection. I don't see the point in having HttpURLConnection in the mix. It adds an unnecessary level It's just my guess that HttpURLConnection is a

Re: Feasibility of Mocking HttpClient

2011-06-25 Thread sebb
On 25 June 2011 17:34, KARR, DAVID (ATTSI) dk0...@att.com wrote: -Original Message- From: Miguel Paraz [mailto:mpa...@gmail.com] Sent: Saturday, June 25, 2011 12:48 AM To: HttpClient User Discussion Subject: Feasibility of Mocking HttpClient Hi, Is it feasible to mock HttpClient,

Fwd: Travel Assistance applications now open for ApacheCon NA 2011

2011-06-06 Thread sebb
-- Forwarded message -- From: Gavin McDonald ga...@16degrees.com.au Date: 6 June 2011 09:01 Subject: Travel Assistance applications now open for ApacheCon NA 2011 To: commun...@apache.org The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting

Re: Exception in thread main java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultRequestDirector

2011-06-01 Thread sebb
On 1 June 2011 09:59, Valentin Popov valentin...@gmail.com wrote: Use standard example from site (4.1.1 version). All libs are fine, no compilation error. But always have this error. Google answer nothing. Please anybody give me a clue I assume you mean the error is as in the subject,

Re: HTTP 502 Error/HttpHostConnectException

2011-05-05 Thread sebb
On 5 May 2011 10:04, Vasudevan Comandur vcoman...@gmail.com wrote: Hi,   I am using HTMLUnit 2.8 and I see HTTP 502 Proxy error intermittently appearing in the log file. HTMLUnit is not the same as HttpClient, so questions about it are off-topic for this list.   What is the reason behind

Re: Posting large file with PostMethod

2011-04-20 Thread sebb
On 20 April 2011 08:56, kevin_vdb6 kevin.vandenbe...@student.kdg.be wrote: Hello, I am develloping a systemtray application that sends parameters of a record to a servlet, however this is working perfectly with files smaller than 1mb but if i try to send larger files it crashes. Unless you

Re: Stale Connection Check

2011-03-29 Thread sebb
On 29 March 2011 20:00, Vadheraju, Rajeshwar rajeshwar.vadher...@fisglobal.com wrote: Oleg, Sorry if I sounded like forcing you to answer my question. I observed that you are the only active person responding to the questions and really hoping that you provide answers to my questions given

Re: Failure to read SSL certs with Red Hat RHEL 4 versions of openssl

2011-03-28 Thread sebb
On 29 March 2011 00:39, Mike Papper bodarot...@gmail.com wrote: Hi, Im looking for help using HttpClient with Ruby on Rails. Heres our environment: Red Hat Enterprise Linux ES release 4 (Nahant Update 4) openssl version: OpenSSL 0.9.8e 23 Feb 2007 or OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

Re: Download of HttpClient 4.1 with dependencies link should be removed from http://hc.apache.org/downloads.cgi?

2011-03-13 Thread sebb
On 13 March 2011 21:47, Lars Vogel lars.vo...@googlemail.com wrote: Hi, thanks to Oleg Kalnichevski for answering my question about Download of HttpClient 4.1 with dependencies: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201103.mbox/browser Sorry the the late reply, I'm

Re: Request decoding

2011-02-16 Thread sebb
On 16 February 2011 09:44, CodingForever nighttmm...@gmail.com wrote: Hi, there I handled http responses using; SessionInputBuffer inbuffer = new SessionInputBufferMockup(s, US-ASCII); HttpResponseParser parser = new

Re: java.io.IOException: Request already aborted - Why ThreadSafeClientConnManager does not renew connection?

2011-02-16 Thread sebb
On 16 February 2011 10:41, Maxim Veksler ma...@vekslers.org wrote: On Tue, Feb 15, 2011 at 3:06 PM, Oleg Kalnichevski ol...@apache.org wrote: Well, I finally spotted an obvious problem with your code, which I should have found earlier: HttpRequest objects are NOT thread-safe. They may not be

Re: Header and Content parsing and saving as html page

2011-02-10 Thread sebb
On 10 February 2011 23:51, Night Mare nighttmm...@gmail.com wrote: Hi there, I have captured some http packets using wireshark. And I want to save content of these packets like index.html I can read packets and convert them to the string but  i can not decode them (chunk, gzip vs. problems)

Re: Upgrade from Commons HttpClient to HttpClient 4.1

2011-02-07 Thread sebb
On 7 February 2011 10:01, ewan.sla...@googlemail.com wrote: Hi Guys, Thanks for the suggestions. It seems that upgrade in this case uses what one of my friends (who works in product management for a software vendor) describes as a bumpy upgrade path with limited appeal to the customer

Re: HttpDelete and similar could exhaust your http connection pool if not handled properly

2011-01-11 Thread sebb
On 11 January 2011 18:17, Stevo Slavić ssla...@gmail.com wrote: It seems they were. On client side of communication I now have:                HttpDelete httpDelete = new HttpDelete(deleteUrl); s/httpDelete/delete/ ?                try {                        HttpResponse response =

Re: Compile error (HttpResponse not found in any jar)

2011-01-02 Thread sebb
On 2 January 2011 22:42, Isao Isaac Saito 1...@lateeye.net wrote: Self-response. Phenomenon-1. HttpResponse.class is found neither in httpclient-4.0.3.jar nor httpmime-4.0.3.jar that are only 2 jar files included in downloadable. I tried several mirror server using both tar.gz and zip, but

Re: issue with 4.1 %3A encoding not handled in url parameter?

2010-12-13 Thread sebb
I can confirm the problem. Another work-round is to use http://www.cnn.com:80/... It looks like the code is checking for the colon (%3A) in the wrong part of the URL. On 13 December 2010 18:03, sansun08 csshankaravadi...@gmail.com wrote: I too had this problem . I had to go back to version

Re: Iterating HttpParams in HttpClient3.x

2010-12-10 Thread sebb
On 10 December 2010 05:57, sansun08 csshankaravadi...@gmail.com wrote: Is there a way to iterate through HttpParams in HttpClient3.x? Am I missing something fundamental here? It does not look like there is any access to the local parameter map. Thanks Sankar -- View this message in

Re: MultiThreadedHttpConnectionManager general question

2010-12-04 Thread sebb
On 4 December 2010 15:28, Andy andrh...@hotmail.com wrote: Hi,I would like to use HttpClient in a multi-threaded environment so I am looking at using the MultiThreadedHttpConnectionManager.I read the document at:  http://hc.apache.org/httpclient-3.x/threading.htmlBut I am still not quite

Re: Weird problem with hostname resolution

2010-10-13 Thread sebb
On 13 October 2010 08:49, Christopher Laux ctl...@googlemail.com wrote: Thanks for letting us know the resolution. So it seems it was resource exhaustion after all, but within the JVM rather than for the host OS. Which resource would that be? Resident memory is barely above 300m with a 3g

Re: Weird problem with hostname resolution

2010-10-12 Thread sebb
On 11 October 2010 21:12, Christopher Laux ctl...@googlemail.com wrote: Hi, it turned out to be caused by a high maximum number of connections (setMaxTotalConnections) and/or connections per route (setMaxConnectionsPerRoute). Setting these values to 500 and 200 respectively makes it work

Re: Weird problem with hostname resolution

2010-10-11 Thread sebb
On 11 October 2010 18:36, Christopher Laux ctl...@googlemail.com wrote: Hi all, I'm using httpclient v4.0.3 in a multi-threaded (currently 20 threads) setup, and am receiving unexpected UnknownHostException s. Some of the threads seem to be resolving without problems, I can execute a manual

Re: Facebook login fails

2010-10-01 Thread sebb
On 1 October 2010 05:34, manoj patidar manoj_pati...@yahoo.com wrote: Hi All, I am login to facebook site using httpclient, it logs in 70% of times but fails 30% of time, i am not able to find the solution, any help would be greatly appreciated. It would be easier for others to provide help

Re: httpclient javadoc 404's

2010-09-22 Thread sebb
On 22 September 2010 11:48, Brian McBride br...@epimorphics.com wrote:  Wasn't sure best place to send this.  Jira seemed like overkill. OK, the mail-list is fine here. I can probably deal with these today. But if they don't get fixed soon, it might need a JIRA to make sure they get done

Re: httpclient javadoc 404's

2010-09-22 Thread sebb
On 22 September 2010 12:01, sebb seb...@gmail.com wrote: On 22 September 2010 11:48, Brian McBride br...@epimorphics.com wrote:  Wasn't sure best place to send this.  Jira seemed like overkill. OK, the mail-list is fine here. I can probably deal with these today. Done, I think. Also fixed

Re: sending/streaming audio data using chunked encoding

2010-09-21 Thread sebb
On 21 September 2010 10:36, nitin singh xmlpr...@gmail.com wrote: Hi, I am trying to stream real time audio data (usual length will be 30 seconds) using http chunking. Specifially, the client will do a Post request with TransferEncoding set as chunked in http 1.1. - I have a thread which

Re: sending/streaming audio data using chunked encoding

2010-09-21 Thread sebb
On 21 September 2010 20:03, nitin singh xmlpr...@gmail.com wrote: Thanks Sebb for replying to my question. I had already gone though that example. Can you be a little more specific? - As I said I need to write data from a buffer when it gets available. So I need a OutputStream while

Re: Howto: call a Servlet from another Servlet (example)?!

2010-09-20 Thread sebb
On 20 September 2010 14:44, Michael Stockhausen prof.dr.moe...@googlemail.com wrote: Hello, I have create two Servlets (LoginServlet UserListServlet). I'm using a JSP für the User credentials. When you press the login-button, the LoginServlet is called. I would like to call the

Re: Backslash in URL

2010-09-17 Thread sebb
On 17 September 2010 18:13, John Smith deaf@gmail.com wrote: I couldn't understand why I can't use backslash (%5C) symbol in URL? I've created file \mytest.php in my Linux box and sent request in Firefox http://localhost/\mytest.php and everything worked fine. But when I try use

Re: Can't get SSL / https to work

2010-09-14 Thread sebb
On 14 September 2010 18:09, Oliver Siegmar oli...@siegmar.org wrote: Hello, I'd like to access content that is provided by https but my code always fails with an SSLException. I tried it with a very simple example: import org.apache.http.client.HttpClient; import

Re: BindException while using HttpClient under load

2010-05-24 Thread sebb
On 25/05/2010, CrystalCracker purplehear...@hotmail.com wrote: I have got 1000 dedicated Java threads where each thread polls a corresponding url every one second. Simplified version of the code is like this MyThread extends() { Node node; MyThread(Node node) { this.node

[Travel Assistance] - applications Open for ApacheCon NA 2010

2010-05-17 Thread sebb
The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon,

Re: Getting past authentication to Flickr/Yahoo

2010-05-05 Thread sebb
On 05/05/2010, lsacco occ...@gmail.com wrote: olegk wrote: Yahoo as well as other high profile sites intentionally make it very difficult to script their login process. Yeah, no kidding! Here's my code...I basically combed there form and create new NameValuePairs for them.

Re: Getting past authentication to Flickr/Yahoo

2010-05-03 Thread sebb
I suggest you use a browser addon to log the HTTP requests which are needed. Alternatively, use a protocol analyser such as Wireshark. On 03/05/2010, lsacco occ...@gmail.com wrote: I've been working on a program to access the TOS from Flickr (http://www.flickr.com/services/api/tos/), but to

Re: Download a file by going to website and submitting a form

2010-04-30 Thread sebb
On 30/04/2010, Mini Traktor minitrak...@yahoo.com wrote: Hi! I used Proxomitron to find out that the parameters were being posted when clicking on the download button (the SÖK button): __VIEWSTATE=%2FwEPDwUJMTMxNTMwMTE1D2QWAmYPZBYCAgMPZBYEAgEPZBYkAgMPPCsADQEMFCsABQ

Re: Timeout experience

2010-03-30 Thread sebb
On 30/03/2010, Mohit Anchlia mohitanch...@gmail.com wrote: Apache 2.2.11 This list is for HttpComponents HttpClient, not Apache httpd server discussions. See: http://httpd.apache.org/lists.html I am reviewing the timeout values in worker.properties because currently if one node out of so

Re: How to do cookies with NHttp*?

2010-03-13 Thread sebb
On 12/03/2010, Ken Krugler kkrugler_li...@transpac.com wrote: On Mar 12, 2010, at 8:30am, Todor Boev wrote: Did that...works just fine. 10x 10x what? Seems to be Internet Slang for thanks: http://topicpulse.com/articles/article/internet_slang_list/ Warning, some of the descriptions

Re: Error using import org.apache.commons.httpclient.*

2010-03-07 Thread sebb
On 07/03/2010, HughT nadinemoacd...@gmail.com wrote: Hello, I'm new to Apache and I'm trying to use HttpClient in Java, but just can't seem to be able to get the right jar file for some reason. I keep getting an error that the package org.apache.commons.httpclient does not exist. I

Re: Error using import org.apache.commons.httpclient.*

2010-03-07 Thread sebb
. sebb-2-2 wrote: On 07/03/2010, HughT nadinemoacd...@gmail.com wrote: Hello, I'm new to Apache and I'm trying to use HttpClient in Java, but just can't seem to be able to get the right jar file for some reason. I keep getting an error that the package

Re: Schema registry

2010-02-25 Thread sebb
On 25/02/2010, Joan Balaguero joan.balagu...@grupoventus.com wrote: Hello, Just a question about Schema registry implementation. The schemes are stored in a LinkedHashMap, and methods to access/modify this map must be, then, synchronized. Is there any reason to use LinkedHashMap in

Re: HttpClient 4.0 encoding madness

2010-01-29 Thread sebb
On 29/01/2010, Ken Krugler kkrugler_li...@transpac.com wrote: On Jan 28, 2010, at 10:09pm, amoldavsky wrote: Hi Oleg, Thank you for the quick reply. So if there is a possibility that not the whole buffer is filled how can I insure or force HttpClient to fill the whole buffer?

Re: HttpClient 4.0 encoding madness

2010-01-29 Thread sebb
On 29/01/2010, amoldavsky assaf.moldav...@gmail.com wrote: Hi Oleg, Let me rephrase the question in better terms: If the server document is Y and buffer size is X, let's even assume that Y = kX where X Y, is it possible that any buffer 0 x (k-1) will not be fully filled? Remember

Re: Any up-to-date comparison of HttpClient vs. HttpUrlConnection?

2010-01-28 Thread sebb
On 28/01/2010, Oleg Kalnichevski ol...@apache.org wrote: On Wed, 2010-01-27 at 15:08 -0800, KARR, DAVID (ATTCINW) wrote: Every once in a while, informal discussions come up about the advantages of HttpClient vs. HttpUrlConnection. Is there an up to date version of that comparison, so

Re: Any up-to-date comparison of HttpClient vs. HttpUrlConnection?

2010-01-28 Thread sebb
On 28/01/2010, Sam Crawford samcrawf...@gmail.com wrote: What functions does HttpUrlConnection still require using system properties for, which HttpClient provides on an instance basis? I know that HttpUrlConnection used to require use of system properties for the read and connection

Re: apache commons HttpClient Base64 encoding of multibyte characters issue

2010-01-21 Thread sebb
On 21/01/2010, Usha_N usha.na...@siemens.com wrote: Hello, We are using apache commons HttpClient library (commons-httpclient-3.1.jar). Users are providing username and password that has multibyte characters in it. Base64 encoding of the mutlitbyte characters in HttpClient doesn’t seem

Re: Blocked threads during requests

2010-01-10 Thread sebb
On 10/01/2010, Oleg Kalnichevski ol...@apache.org wrote: sebb wrote: On 09/01/2010, Ken Krugler kkrugler_li...@transpac.com wrote: [In the interest of not hijacking Tony's discussion thread, I'm putting this into a new email.] Tony Poppleton wrote: Hi

Re: Blocked threads during requests

2010-01-09 Thread sebb
On 09/01/2010, Ken Krugler kkrugler_li...@transpac.com wrote: [In the interest of not hijacking Tony's discussion thread, I'm putting this into a new email.] Tony Poppleton wrote: Hi, Further to the previous mail, I have already implemented my own AbstractHttpEntity to eliminate a

Re: import can not be resolved error

2010-01-06 Thread sebb
On 06/01/2010, Ajay Bansal ajay.bansa...@gmail.com wrote: Hi friends, Today I was trying to use httpclient to generate some http requests. However, I am not able to go past the first step itself. I am getting errors for following classes : import

Re: Cookie rejected

2009-10-05 Thread sebb
that are provided? D/ On Oct 5, 2009, at 4:21 AM, sebb wrote: On 05/10/2009, Douglas Ferguson doug...@douglasferguson.us wrote: Im using HttpClient from apache commons I get of bunch of these warnings in my logs. I could set HttpmethodBase to INFO but I'd be worried that I'd loose

Re: Cookie rejected

2009-10-05 Thread sebb
So - try using a different policy. See: http://hc.apache.org/httpclient-3.x/cookies.html On 05/10/2009, Douglas Ferguson doug...@douglasferguson.us wrote: I guess I'm using the default. I just generating a GetMethod and then running execute. D/ On Oct 5, 2009, at 2:45 PM, sebb wrote

Re: Parallel Webcrawler Implementation

2009-09-24 Thread sebb
On 24/09/2009, Ken Krugler kkrugler_li...@transpac.com wrote: Hi Tobi, First, I'd suggest getting and reading through the sources of existing Java-based web crawlers. They all use HttpClient, and thus would provide much useful example code: Nutch (Apache) Droids (Apache) Heritrix

Re: Warning: SimpleHttpConnectionManager being used incorrectly

2009-09-23 Thread sebb
On 23/09/2009, Christoph Jaehnigen christoph.jaehni...@gmail.com wrote: I get the following warning from the SimpleHttpConnectionManager: org.apache.commons.httpclient.SimpleHttpConnectionManager getConnectionWithTimeout WARNUNG: SimpleHttpConnectionManager being used incorrectly. Be sure

Re: Warning: SimpleHttpConnectionManager being used incorrectly

2009-09-23 Thread sebb
On 23/09/2009, Christoph Jaehnigen christoph.jaehni...@gmail.com wrote: On Wed, Sep 23, 2009 at 17:20, sebb seb...@gmail.com wrote: Does the code do what the error message says? The error message says it all really... That's the point: I do not explicitly use threading, not in Java

Re: Question regarding the redirects

2009-09-08 Thread sebb
I just tried the URL using Apache JMeter 2.3.4 which uses HC 3.1, and that shows the 304 Redirect response correctly, so long as one sets method.setFollowRedirects(false). Are you sure you are setting this correctly? On 08/09/2009, Rutuja Joshi rutuja.jo...@sun.com wrote: Hi Sebb, Sorry

Re: Question regarding the redirects

2009-09-08 Thread sebb
On 08/09/2009, Rutuja Joshi rutuja.jo...@sun.com wrote: Thanks Sebb! I had actually commented out method.setFollowRedirects(true) in the code thinking that the default is false.When I explicitly set it to false, I get the response code as 302 (HTTP/1.1 302 Moved Temporarily) and not 304

Re: Question regarding the redirects

2009-09-08 Thread sebb
On 08/09/2009, sebb seb...@gmail.com wrote: On 08/09/2009, Rutuja Joshi rutuja.jo...@sun.com wrote: Thanks Sebb! I had actually commented out method.setFollowRedirects(true) in the code thinking that the default is false.When I explicitly set it to false, I get the response

  1   2   >