Closed demerzel3 closed 13 years ago
I think this is addressed by #53
Yes, please checkout my pull request and let me know if it works with your server. Here’s what I wrote in the sproutcore-dev mailing list:
For whomever else wants to test the asynchronous proxy with delicious multi-cookie support, you need to clone my fork at https://github.com/publickeating/abbot, if you don't have a 'frameworks/sproutcore' clone within your project, be sure to: $ git submodule init, $ git submodule update within your clone of Abbot. Then from within your project, add a Gemfile with:
gem 'sproutcore', :path => 'path_to_your_clone_of_abbot'
And finally from within the project do:
$ bundle install --binstubs
so that you can either run your project off the gem (i.e. .../sc-server) or from the clone (i.e. .../bin/sc-server)
This should have been fixed in master now. Can you confirm?
It looks like sc-server does not support more than one proxied request at a time. It does enqueue the requests and doesn't process the second one until the first one has finished execution. This is quite annoying if you have multiple requests going on at once in your application (think for example at a long polling scenario).