Beispiel #1
0
int main()
{
    //while(1){
        test_chunked_encode();
        test_content_length();
        test_digest();
        test_digest_fail();
        test_basic();
        test_basic_fail();
        test_basic_but_digest();
        test_basic_but_digest_fail();
        test_digest_cert();
        test_digest_fail_cert();
        test_basic_cert();
        test_basic_fail_cert();
        test_basic_but_digest_cert();
        test_basic_but_digest_fail_cert();
    //}
    return 0;
}
Beispiel #2
0
int main()
{
    khttp_set_log_callback(log_callback);
    //while(1){
        test_chunked_encode();
        test_content_length();
        test_digest();
        test_digest_fail();
        test_basic();
        test_basic_fail();
        test_basic_but_digest();
        test_basic_but_digest_fail();
        test_digest_cert();
        test_digest_fail_cert();
        test_basic_cert();
        test_basic_fail_cert();
        test_basic_but_digest_cert();
        test_basic_but_digest_fail_cert();
    //}
    return 0;
}