Closed davidchiles closed 9 years ago
testSuccessfulProxySetup encountered an error (Test process crashed)
Hmmmm, looks like I need to modify the .travis.yml/xcpretty script to actually output the test results. Maybe it's calling a method that doesn't exist anymore or something? What happens when you run the tests manually?
Added GCDAsyncSocket as method for connecting to socket instead of custom socket setup.
More info on the TOR control port commands.
Commands
CPAProxyCommand
- Object that contains the actual command string and response block that should be called. When a command is sent to theCPASocketManager
the string is sent over the control port and then queued waiting for a response from TOR (normally250 OK
). Once the response is received the command is removed from the queue and sent into the delegate via- (void)socketManager:(CPASocketManager *)manager didReceiveResponse:(NSString *)response forCommand:(CPAProxyCommand *)command;
. If there is not a queued command or the response is asynchronous the method is called on the delegate but command is nil.Response
CPAProxyResponseParser
- This class is just a way to organize all the specific parsing code to retrieve status codes and such. More methods should be added here as more responses are handled.CPASocketManager
- There is now code to better handle asynchronous responses (status code 650). This includes multi line responses ending in '.' and connecting a given response to the command that initiated it.