https://github.com/downloads/couchbaselabs/iOS-Couchbase/iOS-Couchbase.zip
The big news is that, thanks to Aaron, the server now restarts when the app returns to the foreground, making backgrounding possible, yay. It isn’t entirely seamless, though — the server is down for a second or two after the app reappears, and any HTTP requests made to it during that time will fail with a TCP ECONN error. The best workaround is to retry any requests that fail with that error. (I’ve just added support for that to CouchCocoa’s RESTOperation class.)
Also, Aaron says he flipped on a #define that enables Erlang SMP support, which he says is making it run faster; although YMMV depending on what device you run it on.
This also incorporates the previously-mentioned fix to the listener address, changing it to 127.0.0.1 to block connections from other hosts.
—Jens
marty
Chris
marty