Closed xialin closed 10 years ago
CocoaSPDY should work fine with AFNetworking, but my guess is the issue you're running into is one a few others have encountered: Google and Google App Engine both rely on NPN to negotiate SPDY, whereas CocoaSPDY requires an endpoint that can infer the protocol directly, or that has been configured ahead of time to be speak SPDY.
I'm using AFNetworking2.1.0 and trying to add SPDY (with no success yet). After calling registerOrigin, the requests always get Timed Out.
NSString *spdyURL = [NSString stringWithFormat:@"%@://%@:443",url.scheme, url.host];
Note: I'm using Google App Engine, the baseURL I use is something like https://myapp.appspot.com/_ah and I was trying to register origin https://myapp.appsport.com:443