HtmlUnit uses Rhino, but I don't think it uses envjs, but for
completeness, I've posted the question on the envjs list too:

http://groups.google.com/group/envjs/browse_thread/thread/3b42891951c71aa2

Has anyone else seen this, and hopefully solved it?

Robbie

On Apr 27, 9:14 am, wolffiex <[email protected]> wrote:
> On Apr 26, 1:42 pm, Robbie Clutton <[email protected]> wrote:
>
>
>
>
>
> > Hi,
>
> > I seem to be having some issues with multiple async HTTP requests in
> > that if I have more then one request at a time, I seem to be getting
> > timeouts.  Let me explain a little further.
>
> > I initiate a long poll, comet style ajax request which at some point
> > returns with some data (or returns an empty JSON array and polls
> > again).  This fires off an event via a pubsub jQuery plugin (I'm also
> > using envjs to enable jQuery support).  A listener picks up that event
> > and this triggers an API call for more data.  This sends a new async
> > request, but at the same time the loop for the long polls would have
> > triggered once more and now I have two http requests in the pipeline
> > and I start getting timeout issues.
>
> > Am I hitting some limitation of Rhino that I don't know about?
>
> > Thanks
>
> > Robbie
>
> Funny, I've seen the same thing in htmlunit. Does that project share
> code with env.js? Doesn't seem like it would be a rhino bug, but
> maybe?
>
> A

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to