Net::Http, end of file reached

Hi, I’m working with Net::Http and I have to calculate a few things
before I send some of the posts, the problem is sometimes it takes more
than 10 seconds to calculate them and then I get the error: end of file
reached. It seems like a time out…
Is there any way to solve this?

Thanks a lot.

Mario R. wrote:

Is there any way to solve this?

Thanks a lot.

Check out AJAX and asynchronous processing …

10 seconds is an awfully long time for a user to wait for a response…

hth
ilan

But I’m not wating from a response on the server… what it happens is
that it takes more than 10 seconds between one post and another so I get
this error on the second post.

Ilan B. wrote:

Mario R. wrote:

Is there any way to solve this?

Thanks a lot.

Check out AJAX and asynchronous processing …

10 seconds is an awfully long time for a user to wait for a response…

hth
ilan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs