Michael Vogt
ffd2dd93a6
make https honor ExpectedSize as well
2014-08-26 19:20:04 -07:00
David Kalnischkies
453b82a388
cleanup headers and especially #includes everywhere
...
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.
Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
2014-03-13 13:58:45 +01:00
David Kalnischkies
655122418d
warning: unused parameter ‘foo’ [-Wunused-parameter]
...
Reported-By: gcc -Wunused-parameter
Git-Dch: Ignore
2014-03-13 13:58:45 +01:00
Michael Vogt
1e3f4083db
Fix typos in documentation (codespell)
2014-02-22 18:34:33 +01:00
David Kalnischkies
9ce3cfc930
correct some style/performance/warnings from cppcheck
...
The most "visible" change is from utime to utimensat/futimens
as the first one isn't part of POSIX anymore.
Reported-By: cppcheck
Git-Dch: Ignore
2014-01-16 22:19:49 +01:00
David Kalnischkies
fd46d30571
handle complete responses to https range requests
...
Servers might respond with a complete file either because they don't
support Ranges at all or the If-Range condition isn't statisfied, so we
have to parse the headers curl gets ourself to seek or truncate the file
we have so far.
This also finially adds the testcase testing a bunch of partial
situations for both, http and https - which is now all green.
Closes: 617643, 667699
LP: 1157943
2013-10-01 11:17:02 +02:00
Michael Vogt
45a9cc46a1
add missing curl_easy_cleanup()
2013-01-09 14:47:35 +01:00
David Kalnischkies
f40db111e1
just in case: correct the header-guard for https to not match http
2012-02-11 21:26:42 +01:00
David Kalnischkies
379e22a4c0
remove the arbitrary MAXLEN limit for response lines ( Closes : #658346 )
2012-02-11 21:25:57 +01:00
David Kalnischkies
472ff00ef2
use forward declaration in headers if possible instead of includes
2011-09-19 19:14:19 +02:00
Michael Vogt
5085e66067
methods/https.cc: cleanup for CURLOPT_LOW_SPEED_TIME
2009-11-17 09:55:22 -06:00
Otavio Salvador
ae58a98599
Minor typos.
2007-07-10 15:14:57 -03:00
Otavio Salvador
21fd1746e3
* Fix compilation warnings:
...
- apt-pkg/contrib/configuration.cc: wrong argument type;
- apt-pkg/deb/dpkgpm.cc: wrong signess;
- apt-pkg-acquire-item.cc: wrong signess and orderned initializers;
- methods/https.cc:
- type conversion;
- unused variable;
- changed SetupProxy() method to void;
2007-07-10 15:06:12 -03:00
Michael Vogt
d546f98d46
* added https transport method as optional pacakge
2006-12-19 12:03:30 +01:00