allending/Kiwi — Issue #68: synchronized requests just hang
Author: arloan
Created: 2011-10-28 02:34:24+00:00
State: open

i.e LRRestyClient get: never get returned (all other synchronized request methods do).

build env: SL 10.6.8
xcode 4.0
target: iOS 4.3.2 (simulator, not tested in real box)

code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSLog(@"%s: begin.", __FUNCTION__);

LRRestyResponse * lr = [[LRResty client] get:@"http://www.google.com/ncr"];

NSLog(@"r: %@", [lr asString]);

.... (omitted)
}

get an console output like '-[UFBXMobileAppDelegate application:didFinishLaunchingWithOptions:]: begin.' and the main window does not showup.

PS. async calls work fine, except that I cannot block the thread committed the async calls, or else the async calls do not run.