<feed xmlns='http://www.w3.org/2005/Atom'>
<title>paraslash/http_send.c, branch v0.3</title>
<subtitle>paraslash - network audio streaming tools</subtitle>
<id>https://git.tue.mpg.de/cgit/paraslash/atom?h=v0.3</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/paraslash/atom?h=v0.3'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/'/>
<updated>2009-12-19T12:13:53Z</updated>
<entry>
<title>http_send: Send http OK message earlier.</title>
<updated>2009-12-19T12:13:53Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-12-19T12:13:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=4fa9ba989b0f95e7d49a725e07ff5b4a91015700'/>
<id>urn:sha1:4fa9ba989b0f95e7d49a725e07ff5b4a91015700</id>
<content type='text'>
Without this change, the http OK message is sent just when the vss is about to start
streaming, i.e. at the end of the announce interval. This might be too late and sometimes
causes the client to not receive the first chunk(s).

Fix this bug by adding the client file descriptor to the write fd set in http_preselect()
in case we received the get request (or something else) so that the following call
to select() will return immediately. The http OK message (or an error message) will
then be sent much earlier.
</content>
</entry>
<entry>
<title>Add some missing source code documentation.</title>
<updated>2009-05-10T18:41:11Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-10T18:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=f8f6605a4f02a15378a36618dbfacfc862fc6192'/>
<id>urn:sha1:f8f6605a4f02a15378a36618dbfacfc862fc6192</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change year of copyright from 2008 to 2009.</title>
<updated>2009-01-10T00:53:18Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-01-10T00:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=6bdac07456cb5872f824028912d1049883a9c21f'/>
<id>urn:sha1:6bdac07456cb5872f824028912d1049883a9c21f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make para_server use the generic scheduling code.</title>
<updated>2008-04-12T17:01:47Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-04-12T17:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=9d9ef4f91346188baaef1656b861151ea23437d9'/>
<id>urn:sha1:9d9ef4f91346188baaef1656b861151ea23437d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Kill superfluous "%s" in log messages.</title>
<updated>2008-02-17T21:12:39Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-17T21:12:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=806fcbb5a8c00d6b8c1a228b9b4d6b6758f613ca'/>
<id>urn:sha1:806fcbb5a8c00d6b8c1a228b9b4d6b6758f613ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sender code consolidation, on/off commands for the dccp sender.</title>
<updated>2008-02-16T14:33:50Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-16T14:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=bc8187d6a4ca3191b3c54226ba54e4f0c4cf4e6e'/>
<id>urn:sha1:bc8187d6a4ca3191b3c54226ba54e4f0c4cf4e6e</id>
<content type='text'>
This patch moves a bunch of code from the http sender to
send_common.c to make it available also for the dccp sender.

To this aim a new structure sender_status is introduced which
holds the configuration and the current status of the http/dccp
sender. Most of the new functions in send_common.c take a pointer
to such a structure.

This allows to implement the off/on/allow/deny/info commands
as a one-liner for both the dccp and the http sender.

The new server config option dccp_max_clients allows to restrict the
number of simultaneous connections to the dccp sender.
</content>
</entry>
<entry>
<title>Implement access control for the dccp sender.</title>
<updated>2008-02-04T21:22:57Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-04T21:22:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=8157cf8316ef9b3769933d5b17e169b400d36da8'/>
<id>urn:sha1:8157cf8316ef9b3769933d5b17e169b400d36da8</id>
<content type='text'>
Introduce new acl functions to avoid duplicate code
in the http/dccp sender.</content>
</entry>
<entry>
<title>http_send.c: Minor post_select() cleanups.</title>
<updated>2008-02-04T20:11:58Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-04T20:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=69bc5e6d0f3e1535c04555928e016141a71d4619'/>
<id>urn:sha1:69bc5e6d0f3e1535c04555928e016141a71d4619</id>
<content type='text'>
Defer allocating memory for the client until
we will accept it.</content>
</entry>
<entry>
<title>http_send.c: Kill unused variable "i".</title>
<updated>2008-02-04T19:43:43Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-04T19:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=08d6590e06651c856015f785d89b43044081a224'/>
<id>urn:sha1:08d6590e06651c856015f785d89b43044081a224</id>
<content type='text'>
</content>
</entry>
<entry>
<title>http_send.c: Fix a bug in http_post_select().</title>
<updated>2008-02-04T19:41:00Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-02-04T19:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=3ac7a00c79a39801f497b48385dae580a08c3cf8'/>
<id>urn:sha1:3ac7a00c79a39801f497b48385dae580a08c3cf8</id>
<content type='text'>
If the accept() on the listen_fd fails, we don't have a valid
file descriptor but tried to close it anyway. Even worse, the
old code dereferenced and then freed the "sc" pointer which
isn't inititialized at that point.</content>
</entry>
</feed>
