hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hjw <hjw1...@gmail.com>
Subject Re: How could cause connection reset
Date Tue, 18 Mar 2008 00:56:04 GMT
Oleg Kalnichevski ,

I am sending a new HTTP request every second and then get the
response.butusually connection reset after between 400 and 500
times,and some can over
1000 times.

Raymond


2008/3/18, Oleg Kalnichevski <olegk@apache.org>:
>
>
> On Fri, 2008-03-14 at 11:24 +0800, hjw wrote:
> > Hi,dear all:
> >   I trying to use httpclient to get data from a website once in 1 second
> > ,but when the count of getting data is appropriate to above 300
> times,the
> > programme will show a connection reset exception,I must keep the
> programme
> > to work no breaking,could you tell me what will cause the exception and
> how
> > to prevent it.
> >   I am sorry for my pool English.
> >
> > regards,
> >
> > Raymond
>
> Raymond,
>
> What is it exactly you are doing? Are you sending a new HTTP request
> every second or do you send just _one_ HTTP request and then poll the
> data from the response output stream every second?
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message