diff options
Diffstat (limited to 'src/testcurl/test_post.c')
-rw-r--r-- | src/testcurl/test_post.c | 4 |
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 | |||
484 | static size_t | 485 | static size_t |
485 | readBuffer(void *p, size_t size, size_t nmemb, void *opaque) | 486 | readBuffer(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 | |||
500 | static size_t | 502 | static size_t |
501 | slowReadBuffer(void *p, size_t size, size_t nmemb, void *opaque) | 503 | slowReadBuffer(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 | |||
607 | static int | 611 | static int |
608 | testMultithreadedPostCancel() | 612 | testMultithreadedPostCancel() |
609 | { | 613 | { |