aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_post.c')
-rw-r--r--src/testcurl/test_post.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testcurl/test_post.c b/src/testcurl/test_post.c
index 31fd16a2..2501a3d9 100644
--- a/src/testcurl/test_post.c
+++ b/src/testcurl/test_post.c
@@ -481,6 +481,7 @@ struct CRBC
481 size_t pos; 481 size_t pos;
482}; 482};
483 483
484
484static size_t 485static size_t
485readBuffer(void *p, size_t size, size_t nmemb, void *opaque) 486readBuffer(void *p, size_t size, size_t nmemb, void *opaque)
486{ 487{
@@ -497,6 +498,7 @@ readBuffer(void *p, size_t size, size_t nmemb, void *opaque)
497 return required/size; 498 return required/size;
498} 499}
499 500
501
500static size_t 502static size_t
501slowReadBuffer(void *p, size_t size, size_t nmemb, void *opaque) 503slowReadBuffer(void *p, size_t size, size_t nmemb, void *opaque)
502{ 504{
@@ -504,6 +506,7 @@ slowReadBuffer(void *p, size_t size, size_t nmemb, void *opaque)
504 return readBuffer(p, size, nmemb, opaque); 506 return readBuffer(p, size, nmemb, opaque);
505} 507}
506 508
509
507#define FLAG_EXPECT_CONTINUE 1 510#define FLAG_EXPECT_CONTINUE 1
508#define FLAG_CHUNKED 2 511#define FLAG_CHUNKED 2
509#define FLAG_FORM_DATA 4 512#define FLAG_FORM_DATA 4
@@ -604,6 +607,7 @@ testMultithreadedPostCancelPart(int flags)
604 return result; 607 return result;
605} 608}
606 609
610
607static int 611static int
608testMultithreadedPostCancel() 612testMultithreadedPostCancel()
609{ 613{