c - Almost half curl tests are being timeout -
I was using some SSL tests using curl (curl 7.19.7)
One of my Apache server / ubuntu But there is something strange on my test machine that was running on Linux and the exam is in C. Posting the entire program will be tricky so please see which parameters are in the examination program:
curl_easy_setopt (curl_handle, CURLOPT_URL, url_req); //https://10.240.253.5 curl_easy_setopt (curl_ handle, CURLOPT_SSL_VERIFYHOST, 0L); Curl_easy_setopt (curl_handle, CURLOPT_SSL_VERIFYPEER, 0L); With the above option, my program ran for a host of 1.2 m exams and I finished the time for 600k tests. In the microscopic level these are 180 tests at 180 seconds intervals. When I run some 10 questions per minute, I am not out of time but it is ending time in heavy loads. I tried to catch those packets but they were not able to understand them. I recently started working in Curl and SSL / TLS. Therefore any quick solutions / sugages for my problem are highly appreciated.
PS: I'm seeing some posts that this scenario is very CPU intensive so I think the increase in resources. There may be a timeout error.
PS2: These tests were many threaded, one test is called test, 180 seconds per 250 threads
Comments
Post a Comment