login about faq

Using 9.5.0.56-x86-vc9 lib, registered an account from create.sshgoogle.com and tried the above-mentioned example code.

The problem is :

const char *html = http.quickGetStr(url); // <== Intermittently successful ???

if (html == 0 ) { // debug run breakpoint till here, success rate is very low
    std::cout << http.lastErrorText() << "\r\n";
    return;
}

If I did a debug stepping mode, the success rate is higher.

If I did a debug run to breakpoint, the success rate is very low.

Furthermore, I create a loop, out of 10 run, 3-4 times unsuccessful :

for (i=0;i<10;i++)

{

     const char *html = http.quickGetStr(url); // <== Intermittently successful ???

     if (html == 0 ) { // debug run breakpoint till here, success rate is very low
        failcount++;
     }

}

failcount can be 3 or 4 or more.

you can registered an account to verify it.

Thanks.

asked Apr 01 at 18:33

dragon's gravatar image

dragon
333711

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24

Asked: Apr 01 at 18:33

Seen: 299 times

Last updated: Apr 01 at 18:33

powered by OSQA