After did many requests in multi-threads, it show proxy connection timeout, and after 20 sec its continue to work. I checked with differents proxies.
If i using 300 threads it doing 1000-1100 success connections and after that return error: proxy connection timeout => waiting 15 seconds (Its session timeouts) and continue working. And again stops on 2100-2300 success connections.
Maybe defer session.Close() don't close the proxy connection? And proxy connection don't closed after Close the session?
After did many requests in multi-threads, it show proxy connection timeout, and after 20 sec its continue to work. I checked with differents proxies. If i using 300 threads it doing 1000-1100 success connections and after that return error: proxy connection timeout => waiting 15 seconds (Its session timeouts) and continue working. And again stops on 2100-2300 success connections.
Maybe defer session.Close() don't close the proxy connection? And proxy connection don't closed after Close the session?