info: remove debug output
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Jan 2014 22:19:57 +0000 (23:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Jan 2014 22:19:57 +0000 (23:19 +0100)
Removed some of the infof() calls that were added with the recent
pipeline improvements but they're not useful to the vast majority of
readers and the pipelining seems to fundamentaly work - the debugging
outputs can easily be added there if debugging these functions is needed
again.

lib/pipeline.c
lib/url.c

index 61b8c96973c70f3cadc15158513c2add4e5562c4..dfa3c7af1345ea1d6d413bbff8114f724cbb55f3 100644 (file)
@@ -103,18 +103,11 @@ CURLcode Curl_add_handle_to_pipeline(struct SessionHandle *handle,
 
   pipeline = conn->send_pipe;
 
-  infof(conn->data, "Adding handle: conn: %p\n", (void *)conn);
-  infof(conn->data, "Adding handle: send: %d\n", conn->send_pipe->size);
-  infof(conn->data, "Adding handle: recv: %d\n", conn->recv_pipe->size);
   rc = Curl_addHandleToPipeline(handle, pipeline);
 
   if(pipeline == conn->send_pipe && sendhead != conn->send_pipe->head) {
     /* this is a new one as head, expire it */
     conn->writechannel_inuse = FALSE; /* not in use yet */
-#ifdef DEBUGBUILD
-    infof(conn->data, "%p is at send pipe head!\n",
-          (void *)conn->send_pipe->head->ptr);
-#endif
     Curl_expire(conn->send_pipe->head->ptr, 1);
   }
 
index 3f85502eb363fc32321e4c6bc84060e07924dfd4..665133fa01e45c183b4101b253955b868f68985c 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -2683,7 +2683,6 @@ CURLcode Curl_addHandleToPipeline(struct SessionHandle *data,
 {
   if(!Curl_llist_insert_next(pipeline, pipeline->tail, data))
     return CURLE_OUT_OF_MEMORY;
-  infof(data, "Curl_addHandleToPipeline: length: %d\n", pipeline->size);
   return CURLE_OK;
 }