Thursday, January 5, 2012

Re: [android-developers] HttpURLConnection + keep alive timeout? (the way forward starting with gingerbread)

On Fri, Jan 6, 2012 at 3:31 AM, Kristopher Micinski
<krismicinski@gmail.com> wrote:
> On Thu, Jan 5, 2012 at 11:26 AM, Mark Wyszomierski <markww@gmail.com> wrote:

>> Is there a way for us to increase this timeout?
>>
>> Thank you
>>
>
> Sorry if I didn't answer your original question but just post a
> comment: it seems that this eventually just calls down to apache
> harmony, which has been abandoned recently: I wonder how this will
> influence further development...

Assuming Harmony was modelled after the JDK, there is some info
about keep-alive here:

http://docs.oracle.com/javase/1.5.0/docs/guide/net/http-keepalive.html

Also make sure your server is not closing the connections.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate