示例#1
0
文件: test_ssl.c 项目: kaija/khttp
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;
}
示例#2
0
文件: test_ssl.c 项目: zlargon/khttp
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;
}