abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Berry (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-83) Allow access to some essential parameters to HttpClient from AbderaClient
Date Sat, 08 Dec 2007 04:40:43 GMT
Allow access to some essential parameters to HttpClient from AbderaClient
-------------------------------------------------------------------------

                 Key: ABDERA-83
                 URL: https://issues.apache.org/jira/browse/ABDERA-83
             Project: Abdera
          Issue Type: Improvement
            Reporter: Chris Berry


The AbderaClient does not expose a way to set the ConnectionTimeout and SocketTimeout in its
wrapped HttpClient.
(We are using 0.3.0 BTW)
Setting this value is critical. Without it clients can hang (unless they add their own timeout
mechanism)
Unfortunately, the wrapped HttpClient in AbderaClient is private -- not protected -- so there
is no easy fix for this (without hacking AbderaClient itself)

I have attached a patch (built as "svn diff > patch"  from the toplevel of 0.3.0) 
This patch exposes socketTimeout, connectionTimeout, HttpConnectionManagetTimeout, and TCP_NoDelay,
all of which are important for use in a Production application 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message