<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/interactive-helper/aptwebserver.cc, branch 1.0.9.5</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.0.9.5</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.0.9.5'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2014-12-22T13:23:39Z</updated>
<entry>
<title>dispose http(s) 416 error page as non-content</title>
<updated>2014-12-22T13:23:39Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-11-29T16:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=92e8c1ff287ab829de825e00cdf94744e699ff97'/>
<id>urn:sha1:92e8c1ff287ab829de825e00cdf94744e699ff97</id>
<content type='text'>
Real webservers (like apache) actually send an error page with a 416
response, but our client didn't expect it leaving the page on the socket
to be parsed as response for the next request (http) or as file content
(https), which isn't what we want at all… Symptom is a "Bad header line"
as html usually doesn't parse that well to an http-header.

This manifests itself e.g. if we have a complete file (or larger) in
partial/ which isn't discarded by If-Range as the server doesn't support
it (or it is just newer, think: mirror rotation).
It is a sort-of regression of 78c72d0ce22e00b194251445aae306df357d5c1a,
which removed the filesize - 1 trick, but this had its own problems…

To properly test this our webserver gains the ability to reply with
transfer-encoding: chunked as most real webservers will use it to send
the dynamically generated error pages.

(The tests and their binary helpers had to be slightly modified to
apply, but the patch to fix the issue itself is unchanged.)

Closes: 768797
</content>
</entry>
<entry>
<title>cleanup headers and especially #includes everywhere</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T21:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=453b82a388013e522b3a1b9fcd6ed0810dab1f4f'/>
<id>urn:sha1:453b82a388013e522b3a1b9fcd6ed0810dab1f4f</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>warning: type qualifiers ignored on function return type [-Wignored-qualifiers]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-01T12:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d64e130aa333837a8fda0f1bba51f2867ca520f7'/>
<id>urn:sha1:d64e130aa333837a8fda0f1bba51f2867ca520f7</id>
<content type='text'>
Reported-By: gcc -Wignored-qualifiers
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>warning: no previous declaration for foobar() [-Wmissing-declarations]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-02-27T02:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c3ccac9232c2684b15f75fa8622a9a290aeca123'/>
<id>urn:sha1:c3ccac9232c2684b15f75fa8622a9a290aeca123</id>
<content type='text'>
Git-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
</content>
</entry>
<entry>
<title>report https download start only if we really get it</title>
<updated>2014-02-13T23:45:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-02-13T22:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f9b4f12d65b827612b29071f05d605bc05fa62bd'/>
<id>urn:sha1:f9b4f12d65b827612b29071f05d605bc05fa62bd</id>
<content type='text'>
Reporting it via progress means that e.g. a redirect will trigger it,
too, so you get a Get &amp; Hit while http only reports a Hit as it should
be.
</content>
</entry>
<entry>
<title>tests: add a webserverconfig method to abstract config</title>
<updated>2013-11-30T11:38:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-10-23T14:32:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f2c0ec8bdb00b44de240190dae39fa255b6c85de'/>
<id>urn:sha1:f2c0ec8bdb00b44de240190dae39fa255b6c85de</id>
<content type='text'>
The URI to use to set a config option is a bit arcane to write/remember
and checking if the setting was successful doubly so.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>webserver: use pthreads to handle multiple clients</title>
<updated>2013-11-30T11:38:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-10-16T20:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=575fe03ee310c740bfa2950aa55b3358e8a60eee'/>
<id>urn:sha1:575fe03ee310c740bfa2950aa55b3358e8a60eee</id>
<content type='text'>
Clients like browsers prefer to open many connections and keep them open
for a while, so that pages with lot of subelements would take a while to
load (if at all), by using threads as all servers do some way or another
we can resolve this. libapt is not intended to be pthread-safe and stuff
like the storage of the last return code doesn't make too much sense if
multiple clients interact with us, but it is good enough for now and an
other interesting (mis)use of libapt in general.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>webserver: strip parameters from filename</title>
<updated>2013-11-30T11:38:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-10-16T20:43:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d23bda42456bd092751deb24d8295c27a15721e8'/>
<id>urn:sha1:d23bda42456bd092751deb24d8295c27a15721e8</id>
<content type='text'>
Again, not (currently) used by the tests itself, but in interactive
usage of the webserver itself.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>webserver: add directoryIndex support defaulting to index.html</title>
<updated>2013-11-30T11:38:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-10-16T16:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3c16b5fe7950e32a0a13ad7544ed531ace535316'/>
<id>urn:sha1:3c16b5fe7950e32a0a13ad7544ed531ace535316</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>webserver: implement ~user access to ~user/public_html/</title>
<updated>2013-11-30T11:38:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-10-16T14:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=eab3a9b2e233d7a142c0fa90bd1ed16a3c0e6cc6'/>
<id>urn:sha1:eab3a9b2e233d7a142c0fa90bd1ed16a3c0e6cc6</id>
<content type='text'>
pretty much useless for the testcases, but handy to test the webserver
itself in 'real world' environments

Git-Dch: Ignore
</content>
</entry>
</feed>
