Open shiqiang124 opened 10 years ago
bug https://github.com/pokeb/asi-http-request/issues/94 is still exist. ( the bug reproduce test code: https://github.com/shiqiang124/asi-http-request/blob/master/iPhone%20Sample/UploadViewController.m )
the bug happen need follow setting:
1.set keep-alive,and need Content-Type:multipart/form-data, image more than 1M request setShouldAttemptPersistentConnection:YES request setPersistentConnectionTimeoutSeconds:60 request setTimeOutSeconds:60 request setPostFormat:ASIMultipartFormDataPostFormat
It's about time out error.
setShouldAttemptPersistentConnection:NO
http://stackoverflow.com/questions/8317662/asihttprequest-request-sent-twice
bug https://github.com/pokeb/asi-http-request/issues/94 is still exist. ( the bug reproduce test code: https://github.com/shiqiang124/asi-http-request/blob/master/iPhone%20Sample/UploadViewController.m )
the bug happen need follow setting:
1.set keep-alive,and need Content-Type:multipart/form-data, image more than 1M request setShouldAttemptPersistentConnection:YES request setPersistentConnectionTimeoutSeconds:60 request setTimeOutSeconds:60 request setPostFormat:ASIMultipartFormDataPostFormat