{"shas":[["8e3f3694f40a89dacbfde7f43e1e08776b42647b","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","Add configure.ac option for --with-curl\n\nTo avoid breaking compilation, fetch defaults to 'no', and curl defaults\nto 'check'.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["98627a937e6a651f00b4db36f9274adbe4d96e57","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","add curl to alpm initialization and teardown routines\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["af103d4e6333969d45ac4e930c674e921365c6db","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","handle: Add CURL* and CURLcode vars to struct\n\nAdding the CURLcode is necessary in order to return an error string from\npm_error. Unlike libfetch, curl returns numerical error numbers and does\nnot maintain a staticly allocated string with the last error generated.\n\nAdding the curl object itself to the handle is advantageous (and\nencouraged by curl_easy_perform(3)) because the handle is reusable for\nsuccessive operations. This cuts back on overhead when downloading\nmultiple files in a single transaction.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["d193df0c99faee6ed4311d29695f335e61fe78a2","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","handle.c: free memory used by curl_easy handle\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["ee9e189f2a67d860cadf4ebe2cfa1607df68e115","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","prefix fetch based functions with fetch_\n\nDo this in preparation for implementing similar curl based\nfunctionality. We want the ability to test these side by side.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["14f053a4b3946cd3d70bdb6d4d3e764ba8fa898e","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","share code between libfetch and libcurl\n\nno actual code changes here. change preprocessor logic to include\nget_tempfile, get_destfile, signal handler enum, and the interrupt\nhandler logic when either HAVE_LIBCURL or HAVE_LIBFETCH are defined.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["4e5af99f2f8b0920fc3bc57d29a59c524b8d4373","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","handle error case for PM_ERR_LIBCURL\n\nAdd PM_ERR_LIBCURL to error enum and handle case in error.c by returning\ncurl_easy_strerror() based on the error number carried by the gloabl alpm\nhandle.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["2ab1e4c6ad729fdfff7cdce82204ef992b301559","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","curl_download_file do work\n\nThis needs serious rebasing, and yet to be addressed is everyone's\nfavorite issue of the progress bar, which is always triggered on -Sy now\nbecause we don't do an initial HEAD request. I'll need to return from\nthat callback in pacman itself when the dltotal is equal to 0.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"]],"repo":"falconindy/pacman","actor":"falconindy","ref":"refs/heads/fetchectomy","size":8,"head":"2ab1e4c6ad729fdfff7cdce82204ef992b301559","actor_gravatar":"64d339a30e44af55d95371f06df6bfa1","push_id":23951209}