ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am doing some libcurl program in windows xp with VC 2005 (Win 32 program):
program reads a list of urls from input file and try to check http code for each of them.
The program runs pretty slow (10-15 seconds to fetch code per url !) ,and libcurl keep output everything into terminal when I run the program, what's more, it seems the program is NOT just fetching HTTP code in header but the whole page content.
libcurl will send a HEAD request so the page contents won't be served. You might gain even more speed if you use the multi interface which will let the program wait for all the urls at the same time.
Quote:
Originally Posted by Kenshung
The program runs pretty slow (10-15 seconds to fetch code per url !)
Hmm, I ran this on Google's home page and it took 0.148s with terminal output, page is pretty short though.
Quote:
Also could some one delete these two post, I posted it in software by mistake:
Use the report button on one of those posts (next to the quote button).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.