Re: [VOTE] 2.0.2 release

2004-10-05 Thread Eric Johnson
Am I mistaken, or have the recent issues been dealt with? -Eric. Michael Becke wrote: Looks like 2.0.2 has been cancelled for the moment. I'll call for a vote again after we fix the recently discovered issues. Mike On Sep 29, 2004, at 11:05 AM, Michael Becke wrote

Re: Performance

2004-09-27 Thread Eric Johnson
point. For our purposes, the build otherwise looks stable. -Eric. Oleg Kalnichevski wrote: Folks, Could you please grab the latest 2.0 nightly build and see if it runs stable enough for production purposes? When we have a couple of reports confirming adequate stability, we'll call for the 2.0.2

Re: unable to find line starting with HTTP

2004-09-09 Thread Eric Johnson
level problem, not something that HttpClient can help you with at the transport level. HttpClient can improve in ways that make such tricks needed less frequently, but it cannot eliminate the need for them. Hopefully, in your case, you can change the server code to support such a technique. -Eric

Re: Performance

2004-09-02 Thread Eric Johnson
the source, but others in my company like the idea of an official build perhaps more than they need to.) -Eric. Andre-John Mas wrote: Will you make a patch to the 2.x branch as well? The project I work on currently uses the 2.0.1 implementation and we would rather avoid having to change API to take

Re: DO NOT REPLY [Bug 21329] - Add InputStream buffering.

2004-09-02 Thread Eric Johnson
I thought about this as well this morning, and couldn't figure out any flaws with the patch. -Eric. Oleg Kalnichevski wrote: Mike, I have been also thinking about repercussions on the reliability of the stale connection check. I tend to conclude that with the existing architecture (no HTTP

Re: Performance

2004-09-02 Thread Eric Johnson
. -Eric. Oleg Kalnichevski wrote: Eric, This patch makes a difference for only relatively small payloads when the response content is about the size of the status line + headers. In most (real life) cases the performance gain is virtually negligible. This is more about benchmark optimization than

re: ant file for converting src from commons-logging to log4j for 2.0.1

2004-09-01 Thread Eric Bloch
Looks like my attachment didn't come through. Did anyone see it? My sent box looks ok, but the message sent out via the mailing list is empty! -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

ant file for converting src from commons-logging to log4j for 2.0.1

2004-08-30 Thread Eric Bloch
going to maintain this inside the commons-httpclient/build.*, I'd rename the commons-logging.jar property to ${logging-jar}, too, so things would make a little more sense. I ran the tests and it seems to basically work. I can now, happily say 'bubbye' to commons-logging. Enjoy -Eric !-- Ant

Re: Problems with commons-logging jar and request for advice.

2004-08-29 Thread Eric Bloch
use of native log4j and commons-logging is what is causing us grief with certain containers. We're reasonably tucked into log4j that I can't see ditching it for commons-logging either. I thought logging was spose to help debugging not cause it! -Eric Oleg Kalnichevski wrote: Hi Eric Personally up

Problems with commons-logging jar and request for advice.

2004-08-27 Thread Eric Bloch
can email/talk to? FWIW, I'm not a class-loader expert. I've tried to explain the problems to commons-logging folks in a bug I filed (and in other bugs I've read), but I don't see this getting resolved in a timely fashion. -Eric A few details btw: To get things working

Re: DO NOT REPLY [Bug 30514] New: - HttpClient deadlocks under multithreaded access

2004-08-06 Thread Eric Johnson
to call releaseConnection(). -Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

running with a policy file and system properties

2004-07-26 Thread Eric Bloch
(because you might get a SecurityException). I need to either (1) catch the SecurityException or (2) use a simpler version of the code that can be enabled without giving access to all system properties. -Eric - To unsubscribe, e

Re: Having some problems with expect 100 continue

2004-07-15 Thread Eric Johnson
to the bottom of it -Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wire log to Log4J logger.

2004-07-11 Thread Eric Bloch
. And I'd like to force httpclient to use log4j when it's used within my webapp. This was working fine, fyi, in tomcat4. Any clues/advice? Thanks! -Eric Michael Becke wrote: Hi John, HttpClient uses commons-logging which defaults to Log4j when it is present on the classpath. You can enable wire

Re: Bytes written over the 'wire' are dropped on the floor?

2004-07-09 Thread Eric Johnson
in a subsequent email, that might quickly reveal the problem. You might also try on a 1.4.2 vintage JVM, to see if you get different behavior. -Eric. David Tonhofer, m-plify S.A. wrote: Hello, I have spent the past few hours tracking down a problem that seems to occur if you push bytes too quickly over

Re: SSL and server using self-signed certificate

2004-07-07 Thread Eric Johnson
may not work unless you pass the -trustcacerts option when doing the import. Not sure why that is, and your experience may vary based on the JRE version you're using. -Eric. Andre-John Mas wrote: Hi, I have set up a Tomcat 4.1 server to use SSL, with the help of a self-certified certificate, ie

Re: questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-04 Thread Eric Bloch
introduction see: http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/ . Btw, we also have an interest in using httpclient as the transport for a SOAP client if anyone else is working on that. Best, -Eric Bloch - To unsubscribe, e-mail

questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-02 Thread Eric Bloch
about 3.0), you will use up a lot of memory for each connection since the pool doesn't let idle connections (or their buffers) be gced. I just got bit bad by that. -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-02 Thread Eric Bloch
Thanks, I filed against 2.0 final. A question: did you guys consider jmx for your 'preferences architecture' ? Thanks, Eric Oleg Kalnichevski wrote: Hi Eric Thanks for bringing this up. HttpClient 3.0 allows for parameterization of SO_SNDBUF and SO_RCVBUF settings. For HttpClient 2.0 (as well

Re: multipart/form-data Boundary issues

2004-06-29 Thread Eric Dalquist
Ortwin Glück wrote: Eric Dalquist wrote: I've been looking through the code dealing with multipart form uploads and have a few questions. First off, what happens if the text that someone is uploading contains the boundary text since it is hard coded in this implementation? Eric, Actually

Re: multipart/form-data Boundary issues

2004-06-29 Thread Eric Dalquist
in MultipartFormDataProvider and call an extra method on FilePart to get the fileName and append it to the Content-Disposition. -Eric Dalquist Kalnichevski, Oleg wrote: Subject: RE: multipart/form-data Boundary issues From: Kalnichevski, Oleg [EMAIL

multipart/form-data Boundary issues

2004-06-28 Thread Eric Dalquist
to achieve the 2nd point. The 1st issue would then have to be resolved by someone else. My code could still use the default, hard coded boundary in the interim though. -Eric Dalquist - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Invalid RSA modulus size

2004-06-15 Thread Eric Johnson
. -Eric. Tim Wild wrote: Thanks Michael. I have the CA cert and the chained CA certs in my java_home/jre/lib/security/cacerts file. That CA issued the server cert too. It all works fine when I use Mozilla. I'm pretty sure it's a problem with certificate chaining, as when I use my own test CA, which

Re: HttpClient Consultant Needed Immediately

2004-06-09 Thread Eric Johnson
will find out the answer to your second question. However, your third question is very perplexing. Are there SSL modules that do NOT work with JSSE?Wouldn't that be an open standard? Lukas -Eric. - To unsubscribe, e-mail

Re: unable to find line starting with HTTP

2004-06-02 Thread Eric Bloch
I am seeing this exact same problem with 2.0rc1 as well. A wget to the server from the same client works fine. The httpclient wire log shows that I get a redirect and then the in waiting for the HTTP status line from the redirect, it never comes... What server are you running? -Eric

Re: Project team page (was RE: Release notes update. Please review)

2004-05-03 Thread Eric Johnson
the suggestion as you wish. -Eric. Kalnichevski, Oleg wrote: On a related note, Oleg, are you also working on updating the list of contributors? If not, I will take a look at it. Mike, I found this to be quite a touchy issue. I have been thinking whether there's an acceptable way to inject

Re: [PATCH] SSL guide amendments (patch against 2.0 branch)

2004-04-15 Thread Eric Johnson
Oleg, Yes, of course. Sorry, I should have done that the first time. Attached (I hope). -Eric. Kalnichevski, Oleg wrote: Hi Eric Many thanks for taking time to correct my writing. All corrections make sense to me. (BTW, no need to be over-diplomatic. I am perfectly aware that my English has

Re: EasySSLProtocolSocketFactory for Secure and Proxied.

2004-03-25 Thread Eric Johnson
The initial connection to the proxy server is actually done over an unencrypted channel. Subsequent communications are encrypted only after the connection to the proxy has been established. This isn't a restriction, rather I believe it follows the proxy specification. -Eric. John Melody

Re: Memory Leaks when web server hangs

2004-03-21 Thread Eric Bloch
I'm happy to change my code but have a version of my product out there that does it this way and wanted to make sure it wasn't in need of immediate patch :-) -E Roland Weber wrote: Hello Eric, by using the same connection manager for each HttpClient, you avoid the biggest penalty

Re: Memory Leaks when web server hangs

2004-03-19 Thread Eric Bloch
Hey there, I create/destroy http clients but always have them use the same connection manager. Will that cause thread thrashing? Thanks, -Eric Roland Weber wrote: Hello Srini, you should *not* create a new HTTP Client for each request! This will also create a new connection manager

Re: 2.0 rc1 leaking sockets?

2004-03-18 Thread Eric Bloch
Michael Becke wrote: Hi Eric, By default 20 is max number of total connections. This number will not be exceeded regardless of the number of hosts being connected to. What if maxconnsperhost is maxtotal ? For example, imagine I'm setting maxconnsperhost to 1000. Thanks, Eric

question about SimpleHttpConnectionManager

2004-03-18 Thread Eric Bloch
I feel like this has been asked before I'm wondering how I force a socket to close when I'm using this manager. I couldn't find the api. Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: 2.0 rc1 leaking sockets?

2004-03-17 Thread Eric Bloch
release my connections). -Eric Michael Becke wrote: Hi Eric, The multi-threaded connection manager holds on to connections that have been released, but it does not necessarily close them. Connections are only closed if the server sends a connection: close header or if HTTP 1.0 is used

Re: [VOTE] suspend use of @author tags

2004-03-17 Thread Eric Johnson
be the time to consider replacing code. At least, that is what I understand of US law (of course, IANAL). -Eric. Jeff Dever wrote: +1 Additionally, we should seek to contact those currently in @author tags that do not have a CLA on file, and ask permission that they be removed or to encourage

Re: 2.0 rc1 leaking sockets?

2004-03-17 Thread Eric Bloch
should be aware of? Or is there a doc somewhere that has the list of changes between rc1 and final? Thanks again! -Eric Michael Becke wrote: On Mar 17, 2004, at 5:05 PM, Eric Bloch wrote: Thanks... just to be clear though... the multi-threadded connection mgr should never hold open more than

Re: @author tags

2004-03-16 Thread Eric Johnson
Roland Weber wrote: Hello Eric, I was thinking about some kind of metrics, too. Not as advanced as yours, of course :-) But then I felt that a ranking is not the best approach. It may lure people to use tricks just to improve their ranking. Too true. My perspective on this matter is colored

2.0 rc1 leaking sockets?

2004-03-16 Thread Eric Bloch
will see socket leaks? This is running against JRE 1.3.1 (on linux). I have a custy that is seeing leaks WebSphere and at the moment, httpclient is the current suspect since it's one of the few things in the app that causes it to open sockets. Thanks, -Eric

Re: @author tags

2004-03-15 Thread Eric Johnson
now. It would at least recognize people who do nothing more than track down bugs. It would also give us some visibility into the size and involvement of the HttpClient community. Darts welcome! -Eric. Michael Becke wrote: The ASF has recently recommended that we discontinue use of @author

Re: Having Trouble with MultipartPostMethod

2004-03-09 Thread Eric Mckenna
Project [EMAIL PROTECTED] Sent: March 09, 2004 3:54 AM Subject: Re: Having Trouble with MultipartPostMethod Eric Mckenna wrote: but when opened the encoding is all wrong. The data is there but No Alderan Could you be more specific about this please? What do you mean

Re: Having Trouble with MultipartPostMethod

2004-03-09 Thread Eric Mckenna
: Eric Mckenna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: March 08, 2004 8:17 PM Subject: Having Trouble with MultipartPostMethod Greetings, Having some trouble with transferring a file to another server. Here's the flow: User submits excel doc to ServerA ServerA get post, creates

Having Trouble with MultipartPostMethod

2004-03-08 Thread Eric Mckenna
); p.setTransferEncoding(null); method.addPart(p); ServerA is IIS:Tomcat 4.1.29 SeverB is WebLogic8.1 jdk 1.4.1 Thanks, eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: streaming request body

2004-02-24 Thread Eric Johnson
be wrapped, thus hiding them. Since they are already hidden, your issue would seem to be a problem with *how* they are exposed (or not). Again, comments and feedback or a patch for bug 26070 would be welcome. -Eric

Re: streaming request body

2004-02-23 Thread Eric Johnson
InputStream and OutputStream. If it did, it cound not ensure that persistent connections work properly. -Eric. John Keyes wrote: Guys, A colleague pointed out to me that this does not in fact resolve the situation. The solutions pointed out allow me to read the attachment as a stream

Re: HttpClient 2.0 final release in February?

2004-02-13 Thread Eric Johnson
The time seems right. I see no reason to wait! -Eric. Kalnichevski, Oleg wrote: Folks, I feel it is time we cut the final release. I am convinced we should get the long overdue HttpClient 2.0 release out and fully concentrate on getting HttpClient 3.0 ready for the first alpha release

Re: DO NOT REPLY [Bug 26382] - Update license terms

2004-02-04 Thread Eric Johnson
with the PMC. -Eric. [EMAIL PROTECTED] wrote: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26382. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http

Re: I'm a big loser

2004-01-26 Thread Eric Johnson
Dave, *You* have to generate the wire log. See this link http://jakarta.apache.org/commons/httpclient/logging.html that Oleg pointed you to. -Eric. D Alvarado wrote: Again, here is my noviceness coming out, but where would I find this wirelog of the HTTP session? I am running Apache Web

Re: Connection Reset Error

2004-01-26 Thread Eric Johnson
and reliably through proxy servers and routers that might otherwise drop an idle connection. -Eric Johnson. David Webb wrote: I have written a program that uses HttpClient to call servlets that do batch jobs and wait for their return...usually no more that 15 minutes. I have the Server timeout

Re: Recoverable error question

2004-01-26 Thread Eric Johnson
. Of course, my company sells such a product, so I should stop now before I cross the line into advertisement. -Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JIRA vs Bugzilla issue

2004-01-21 Thread Eric Johnson
of commons, and also see about having the Bugzilla version updated. -Eric. Kalnichevski, Oleg wrote: Is there an automatic way to move the current issues over to JIRA? The open bugs are important, but the closed ones also contain a wealth of information. I do not have all the details

Re: PostMethod.setFollowRedirects(true); - do nothing

2004-01-20 Thread Eric Johnson
fundamental architectural limitations of the current HttpClient 2.0 design. -Eric. JEAN REMI LECQ wrote: Somebody help ! I follow all directive in http://jakarta.apache.org/commons/httpclient/redirects.html... But my PostMethode can still not follow redirection !! :-( My code

Re: upload large files- Filepart

2004-01-06 Thread Eric Johnson
This problem seems like it is the perfect candidate for the ExpectContinueMethod.setUseExpectHeader() function. Isn't this exactly the scenario for which this header was intended? -Eric Oleg Kalnichevski wrote: Siddhartha, I believe the solution to this problem is trivial. All it takes

Re: Logging problem

2003-12-31 Thread Eric Johnson
/logging.html, although if you're using Log4J, you'll have to adopt the instructions as appropriate. I suggest searching the HttpClient email archives (http://nagoya.apache.org/eyebrowse/SummarizeList?listId=128) for Log4J to see how other people have solved this. -Eric Johnson Lomvardias

Re: [HttpClient] Refactor get/setRequestHeader(Content-Type,..)

2003-12-29 Thread Eric Johnson
of the code before. I think various HttpClient commiters are on vacation until Jan., so I wouldn't expect a more complete response before then. -Eric. Gary Gregory wrote: Hello HttpClient, For our code which uses HttpClient, I find myself defining constants and methods in our code for things like

Re: Connect to Apache WEBDAV and send back XML

2003-12-16 Thread Eric Johnson
in that library. -Eric Johnson. J H wrote: Hi. I found the HTTP-commons library and I was absolutely ecstatic! I would appreciate some help though...I'm not sure how to coax it to send data other than html...I've tried to set the request header to method.setRequestHeader(Content-Type,content

Re: Make HttpClient pick Basic Auth over NTLM?

2003-12-04 Thread Eric Johnson
every time. Is this a point on which HttpClient should have an option to override the RFC mandated behavior? As somewhat of a fanatic about security, my take is that you should be forced to do the right thing, and if you really want to, the source is there for you to modify. -Eric. anon

Re: DO NOT REPLY [Bug 24352] - NLTM Proxy and basic host authorization

2003-12-01 Thread Eric Johnson
Oleg, You're discarding the possibility that HttpClient is approaching perfection, and doesn't need much in the way of email commentary, because it works so well. Ah, er, sorry, I just had to day-dream for a moment there. -Eric. Oleg Kalnichevski wrote: What's up, folks? I have never seen

Re: DO NOT REPLY [Bug 24352] - NLTM Proxy and basic host authorization

2003-11-17 Thread Eric Johnson
to talk to actual servers, and replace them with test cases like the above, wherein we could mimick (or exactly duplicate) the odd behavior of various servers. Hopefully this gives someone else an idea -Eric. Ortwin Gluck wrote: [EMAIL PROTECTED] wrote: Oleg, I agree, our lack of auth

Re: HttpMethodBase.releaseConnection() finished download

2003-11-14 Thread Eric Johnson
consuming the remainder of the body of the response. Hope that helps. -Eric. Sven Kohler wrote: Hi, it seems that releaseConnection finishes the http-download until it is complete. I don't want that. I'm looking for a way to close the HttpConnection if the download wasn't completed yet. I'm

Re: DO NOT REPLY [Bug 24309] - MultiThreadedHttpConnectionManager daemon Thread never GC'd

2003-11-12 Thread Eric Johnson
it would not be collected by the gc() call. Since Mike's new approach no longer uses multiple threads, the sleep prior to the gc() call is unnecessary now. -Eric. Ortwin Glück wrote: Mike, in the test case I would rather introduce a Thread.sleep AFTER the System.gc() call as well to give

Re: Problem with Basic Authentification and non ASCII characters

2003-11-12 Thread Eric Johnson
+ HttpConstants.getAsciiString( Base64.encode(buffer.toString().getBytes(UTF-8) ) ); RFC 2617 appears to be mum on the issue. Anyone else have a better clue? -Eric. P.S. I found this email which might be a useful place to start, but I couldn't figure out the answer from a quick read of it or its surrounding

Re: DO NOT REPLY [Bug 24560] - HttpClient loops endlessly while trying to retrieve status line

2003-11-11 Thread Eric Johnson
HttpClient even operate with those servers anyway? Absent the real-world data, I'd stick with only trying to deal with the bad behavior at the beginning of the next response, rather than at the end of the previous one. -Eric. Kalnichevski, Oleg wrote: Eric, Just to clarify things: there's strongno

Re: HTTPClient RC2 - Response content length is not known

2003-11-07 Thread Eric Johnson
the connection to the client. HttpClient is telling the truth with this warning that you see, but in this particular context, the server explicitly indicates that it will be closing the connection. Let us know if you think the logging change above is not sufficient to your needs. -Eric. Brad Clarke

Re: HTTPClient RC2 - Response content length is not known

2003-11-07 Thread Eric Johnson
Oleg, Dang, you're good! You complete fixes before others can even guess at them! -Eric. Oleg Kalnichevski wrote: It strikes me personally that the warning in this particular context is probably excessive, and it should be logged as a info or debug message instead, but only

Re: Cookie test case failures with Tomcat 4.1.29

2003-11-04 Thread Eric Johnson
into webapps, then started up Tomcat with a ./catalina.sh run. Then I ran the tests as reported. -Eric. Kalnichevski, Oleg wrote: Eric, Strangely enough, I installed Tomcat 4.1.29 yesterday and had no failing test cases of whatsoever. I reran the test cases with the latest code from CVS HEAD and 2.0

Re: Cookie test case failures with Tomcat 4.1.29

2003-11-04 Thread Eric Johnson
us full circle to the original problem - which one is right? -Eric. Oleg Kalnichevski wrote: Eric, I just installed Tomcat 4.1.29 on my home PC running Redhat 9 and Sun JDK 1.4.2. I can't reproduce the problem. All tests pass. The only thing I did differently was tweaking tomcat's server.xml

Re: Getting 502 Bad Gateway on connection

2003-10-31 Thread Eric Johnson
for troubleshooting on the web site, and let us know. -Eric Johnson Karr, David wrote: I'm apparently using version 2.0-alpha3-dev of HTTPClient. I doubt this is a problem with HTTPClient, but I'm just trying to understand my issue a little better. I have a servlet running in WebLogic on my desktop

Re: [Vote] Release Prime

2003-10-15 Thread Eric Johnson
Jandalf, I guess fighting the Balrog aged you a bit? Given the collection of dedicated committers, I would hate for a non binding +1 to be taken as a slight against anyone else, for it most surely is not! Caveats aside, Michael seems like an excellent choice from where I sit (+1). -Eric

Re: Proposal: Configurable HTTP Response length limit

2003-10-10 Thread Eric Johnson
: byte[] getResponseBody(int maxBytes); and deprecate the old one. In the absence of such support in HttpClient, presumably you can write such a function for yourself? I agree with other posts that this is not an issue to solve at the stream level. -Eric. [EMAIL PROTECTED] wrote: Am Freitag

Re: Proposal: Configurable HTTP Response length limit

2003-10-10 Thread Eric Johnson
. The latter condition suggests an abuse of the HTTP protocol, and an alternative streaming protocol would be more appropriate. -Eric. [EMAIL PROTECTED] wrote: Eric, adding a maxBytes parameter to getResponseBody seems to be a resonable idea to limit the actual number of bytes returned

Re: Proposal: Configurable HTTP Response length limit

2003-10-10 Thread Eric Johnson
to do so. I think you might be able to solve at least some of your issues that way. -Eric. Christian Kohlschuetter wrote: Am Freitag, 10. Oktober 2003 23:40 schrieb Oleg Kalnichevski: Chris, Please see my comments in-line I think it is less the patch itself but a standpoint problem

Re: Why are cookies deleted?

2003-10-06 Thread Eric Johnson
are on different paths. A shorter sample of the problem would undoubtedly help out, as it would let us try exactly the same code you're trying. -Eric. Ernst de Haan wrote: But that is the constructor which is called only once. So my code is correct, right? If not, please elaborate on what I should do

Re: Wire logging problem...

2003-10-06 Thread Eric Johnson
: System.setProperty(org.apache.commons.logging.simplelog.log.httpclient.wire, debug); although perhaps that is not as obvious as it should be. -Eric. David Brady wrote: I use Log4j for our current project - no problems with it. I've added to our log4j.properties file: log4j.category.org.apache=INFO

Re: connection leak in HttpMethodBase when HttpRecoverableException is re-thrown

2003-09-24 Thread Eric Johnson
Danch, Note the bugs: http://issues.apache.org/bugzilla/show_bug.cgi?id=23137 http://issues.apache.org/bugzilla/show_bug.cgi?id=22841 If you can, pull the latest code from CVS, or grab a nightly build, and try it again, as the bug may very well be fixed already. Let us know how it goes. - Eric

what would an infinite loop in ChunkedInputStream.exhaustInputStreammean?

2003-08-29 Thread Eric Bloch
I am using the httpclient library to implement a caching, converting proxy and under some stress situations, I see this method infinite loop. Any clues? Thanks! -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED

regression in cookie handling from 2.0 alpha3 to 2.0 rc 1 ?

2003-08-26 Thread Eric Bloch
that it should merge in any client state cookies to the header I add, rather than clobbering mine. Should I file a bug? FYI, I work-around this bug, by subclassing GetMethod (or any other HttpMethod) and overridding addCookieRequestHeader() to be a no-op. Thanks, Eric -- Eric Bloch Laszlo Systems, Inc

Re: regression in cookie handling from 2.0 alpha3 to 2.0 rc 1 ?

2003-08-26 Thread Eric Bloch
for your time and nice work! -Eric Adrian Sutton wrote: Hi Eric, If I manually set a cookie header on a request (for example, if I'm proxying a request myself), HttpMethodBase will always clobber it during addCookieRequestHeader(). I would think that it should merge in any client state cookies

Re: Performance Issue

2003-07-29 Thread Eric Johnson
at running it with each release, and thus keep track of the library's performance over time. -Eric. Kalnichevski, Oleg wrote: OK. I did a stupid thing that flawed all my measurements. I have basically ended up measuring the speed of console output ;-). Dumb Russian I am. Todd, are you sure you

Re: ssl question

2003-07-29 Thread Eric Johnson
suggested. -Eric. Querent wrote: Dear Odi, I am using jsse for the ssl implementation. I still want to use HttpClient in my program. If I am assuming that the server and client certificate both valid and they're communicating to each other. Are they communicating in a secure line? (ie: no one

Re: FW: Commons-HttpClient conflict with WebDAVClient

2003-07-28 Thread Eric Johnson
: Eric, Of course, the patch can be rolled back. Alternatively we can leave getResponseContentLength() method as is, and introduce an additional method that serve similar function but returns long, not int. I don't believe we should just roll back the patch either. It is a design flaw that needs

Re: Performance Issue

2003-07-28 Thread Eric Johnson
? Is this a confirmed problem if not invoking localhost? If it affects one platform, could we punt on the issue? Which is the specific line in isStale() that causes the performance degradation? Is there anyway to speed that one line? -Eric

Re: Commons-HttpClient conflict with WebDAVClient

2003-07-26 Thread Eric Johnson
then the excellent group here at HttpClient, so it may not be as smooth as you like. -Eric. Daniel Joshua wrote: Thanks. You will have a lot more luck asking these questions on the slide mailing list since they've actually looked at the code in the past year. :) I have joined posted on the Slide

Re: [VOTE] Add commons-codec as an HttpClient dependency

2003-07-16 Thread Eric Johnson
, there would then be two JAR files, but we could clearly indicate that the combination one would go away by 3.0. Just an idea. -Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Occassional long download times

2003-07-08 Thread Eric Johnson
See: http://archives.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=754530 You'll have to configure Log4J, which I do not know well, but it should be straightforward to do in conjunction with the httpclient logging guide. -Eric. Michael Mattox wrote: I've tried to turn the wire logging

How to post to a URL with Checkbox ?

2003-07-07 Thread Eric Chow
Hello, If the HTML form is like the following : form method=post action=/servlet/Show input type=checkbox name=cb input type=text name=n input type=submit value=Show /form How can Post to /servlet/Show with the values as following ? n=Eric and the CheckBox should be CHECKED

Array of values ???

2003-07-07 Thread Eric Chow
Hello, The following is a HTML form with a set of same name. How can use HttpClient to post them ?? Best regards, Eric = script language=JavaScript C_ITEM_NO = 5; C_BOOKING_HOUR_LIMIT = 3; function check_input() { i = 0; fillCnt = 0; loopCnt

Re: Occassional long download times

2003-07-07 Thread Eric Johnson
with HttpClient or the network. -Eric. Michael Mattox wrote: I'm experiencing something weird and I just want to see if anyone else has experienced it, and if it may be something I'm doing. Basically my application is monitoring 700+ websites every 5 minutes and timing the time it takes

Re: [Proposal] exception handling revised

2003-07-07 Thread Eric Johnson
exceptions, so I lean towards the simpler approach that Oleg outlined. -Eric. I personally see two ways of fixing things 1) Back to the roots - This approach is basically about going back to a very simple, but clear framework that existed before but got messed up

NTLM

2003-07-03 Thread Eric
some thoughts; feel free to consider or ignore them as you see fit ;) Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [VOTE] Re: 2.0 release

2003-06-26 Thread Eric Johnson
for the users of the library that the functions may not behave as expected, which is almost certainly true based on the lack of test cases, confusion on this list, confusing documentation, and absence of any uses within HttpClient. -Eric. Adrian Sutton wrote: All, Personally, I believe

Re: 2.0 release - looking to the future

2003-06-26 Thread Eric Johnson
) current exposed implementation classes, especially where the interfaces start to supplant them. Just throwing out my thoughts. -Eric. Michael Becke wrote: I think we are quite ready for a beta2/rc1. I agree that there have been few new bugs lately but I would still like to see a beta2, just

Re: [SURVEY] Commons-URI or not?

2003-06-25 Thread Eric Johnson
had a model such as the above, where most people used the one giant JAR instead of the individual ones, the creation of a separate commons URI project would be largely one of focus and interest, rather than an additional dependency quagmire. -Eric Johnson Sung-Gu wrote: Hi all, I suggest

Re: Test Coverage

2003-06-23 Thread Eric Johnson
, and this week I'm spending my scarce open source time on the client side Slide DAV library, to improve its compatibility with HttpClient. Maybe someone else can run with the idea? -Eric. - To unsubscribe, e-mail: [EMAIL

RE: PATCH org.apache.commons.httpclient.methods.multipart.FilePart

2003-06-21 Thread Eric M Devlin
Hey Adrian, Its in http://issues.apache.org/bugzilla/show_bug.cgi?id=20986 I put it source in the description and attached it. Eric -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 12:01 AM To: Commons HttpClient Project Subject: Re

RE: PATCH org.apache.commons.httpclient.methods.multipart.FilePart

2003-06-20 Thread Eric M Devlin
on httpclient. It's been a really nice find. I'm using to at work, but I've gotten more out of it at home. Eric -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:01 PM To: Commons HttpClient Project Subject: Re: PATCH

NTLM Documentation

2003-06-19 Thread Eric
authentication in particular, but is very detailed on the underlying NTLM messages. Thanks! Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: PATCH org.apache.commons.httpclient.methods.multipart.FilePart

2003-06-19 Thread Eric M Devlin
was putting the contentType determination in the FilePart class it self. Just let me know. Eric -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:10 PM To: Commons HttpClient Project Subject: Re: PATCH

Re: Deadlock problem with MultiThreadedHttpConnectionManager

2003-06-18 Thread Eric Johnson
be a dead lock. Eric Johnson wrote: MultiThreadedHttpConnectionManager.doGetConnection() - line 302, which reads connectionPool.wait(timeToWait), This is a limited wait. Not infinite. Oleg, do we ensure that timeToWait0 somehow? You seem to be echoing one of my recommendations - the code should

Re: Deadlock problem with MultiThreadedHttpConnectionManager

2003-06-18 Thread Eric Johnson
off in the problematic scenario. Thanks for the feedback. -Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PATCH org.apache.commons.httpclient.methods.multipart.FilePart

2003-06-18 Thread Eric M Devlin
It Helps Eric --- FilePart.java.orig 2003-06-18 22:18:41.0 -0400 +++ FilePart.java 2003-06-18 22:01:49.0 -0400 @@ -1,5 +1,5 @@ /* - * $Header: /home/cvspublic/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/multipart/FilePart.java,v 1.14 2003/03/16

Re: Questions related to the use of HttpClient classes

2003-06-06 Thread Eric Johnson
to implement my own pooling? It should be sufficient to use the MultiThreadedHttpConnectionManager, which actually serves multiple tasks, one of them being pooling. I am sure I have other questions, but this will do for now. :) Thanks. Om. Good luck. -Eric Johnson

  1   2   >