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.

···

--
Posted via http://www.ruby-forum.com/.

Mario Ruiz 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

···

--
Posted via http://www.ruby-forum.com/\.

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 Berci wrote:

···

Mario Ruiz 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

--
Posted via http://www.ruby-forum.com/\.