[packagekit] About Transaction Cancel Method

Richard Hughes hughsient at gmail.com
Fri Dec 17 01:19:48 PST 2010


On 17 December 2010 08:54, Zhang, Qiang Z <qiang.z.zhang at intel.com> wrote:
> But this method only can cancel on some program point, so if the download
> library is downloading packages, this method cant cancel it immediately.
> Right?

Well, you need to setup the download library cancel callback. In the
case of libsoup, you can cancel the download using
soup_message_cancel(), and I'm sure curl has something similar.

Richard.



More information about the PackageKit mailing list