On Wed, Mar 24, 2010 at 8:25 AM, Daniel Stenberg <[email protected]> wrote:
> On Wed, 24 Mar 2010, Christopher Conroy wrote:
>
>> I believe I have the code fixed now. GET_PARAMETER was all sorts of wrong.
>> Now you should be able to do empty and non empty GET_PARAMETER requests.
>> Your test works with my local live555 server with this patch. libtest572
>> adds coverage for this.
>
> Thanks a lot, I pushed it just now with just some minor edits.
>
> --
>
>  / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette:  http://curl.haxx.se/mail/etiquette.html
>

Small addendum: remove debug printfs from libtest572.c



-- 
Chris Conroy
From 83fe3f227bb2802c1524a43a39828e45af6c2ba2 Mon Sep 17 00:00:00 2001
From: Chris Conroy <[email protected]>
Date: Wed, 24 Mar 2010 09:21:33 -0400
Subject: [PATCH] remove debug printfs

---
 tests/libtest/lib572.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/tests/libtest/lib572.c b/tests/libtest/lib572.c
index b3e48e3..18e74d4 100644
--- a/tests/libtest/lib572.c
+++ b/tests/libtest/lib572.c
@@ -69,9 +69,7 @@ int test(char *URL)
 
   test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles");
   test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
   res = curl_easy_perform(curl);
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
   if(res)
     goto test_cleanup;
 
@@ -82,7 +80,6 @@ int test(char *URL)
   test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
   free(stream_uri);
   stream_uri = NULL;
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
 
   /* PUT style GET_PARAMETERS */
   params = open("log/file572.txt", O_RDONLY);
@@ -101,7 +98,6 @@ int test(char *URL)
   test_setopt(curl, CURLOPT_UPLOAD, 1L);
   test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size);
 
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
   res = curl_easy_perform(curl);
   if(res)
     goto test_cleanup;
@@ -109,7 +105,6 @@ int test(char *URL)
   test_setopt(curl, CURLOPT_UPLOAD, 0L);
   fclose(paramsf);
   paramsf = NULL;
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
 
   /* Heartbeat GET_PARAMETERS */
   if((stream_uri = suburl(URL, request++)) == NULL) {
@@ -120,7 +115,6 @@ int test(char *URL)
   free(stream_uri);
   stream_uri = NULL;
 
-  fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
   res = curl_easy_perform(curl);
   if(res)
     goto test_cleanup;
-- 
1.6.0.4

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to