Received: from eggs.gnu.org ([208.118.235.92]:33454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYE5R-0000eN-HS for qemu-devel@nongnu.org; Fri, 03 May 2013 07:23:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYE5O-0008HA-RG for qemu-devel@nongnu.org; Fri, 03 May 2013 07:23:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYE5O-0008H1-KH for qemu-devel@nongnu.org; Fri, 03 May 2013 07:23:34 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r43BNXah009054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 3 May 2013 07:23:33 -0400 Date: Fri, 3 May 2013 19:23:31 +0800 From: Fam Zheng Message-ID: <20130503112331.GA4517@fam-laptop.nay.redhat.com> References: <1367568009-4900-1-git-send-email-famz@redhat.com> <20130503110916.GB1535@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130503110916.GB1535@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH] curl: fix curl read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Fri, 05/03 13:09, Stefan Hajnoczi wrote: > On Fri, May 03, 2013 at 04:00:09PM +0800, Fam Zheng wrote: > > CURL library API has changed, the current curl driver is not working. > > This patch rewrites the use of API as well as the structure of internal > > states. (It is hard to split this to multiple patches as basically all > > these changes need to work together.) > > Which libcurl APIs have changed? I expect libcurl to be backwards > compatible. Function curl_multi_socket_all (see man 3 curl_multi_socket) is deprecated, and not working as I tried the current curl driver, build against libcurl 7.27.0. It's deprecated to be replaced by curl_multi_socket_action. The version does not concern, they are all introduced in the same version, 7.15.4 [1], and has been there for long. [1]: http://curl.haxx.se/libcurl/c/curl_multi_socket_action.html -- Fam