<feed xmlns='http://www.w3.org/2005/Atom'>
<title>paraslash/command.c, branch master</title>
<subtitle>paraslash - network audio streaming tools</subtitle>
<id>https://git.tue.mpg.de/cgit/paraslash/atom?h=master</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/paraslash/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/'/>
<updated>2026-05-30T21:55:06Z</updated>
<entry>
<title>Merge topic branch t/socket-cookie into master</title>
<updated>2026-05-30T21:55:06Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-05-30T21:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=4c2b1f24524fb5003e6c766d8f3848d7c27cf6a4'/>
<id>urn:sha1:4c2b1f24524fb5003e6c766d8f3848d7c27cf6a4</id>
<content type='text'>
AFS socket cookie replacement
-----------------------------
A small but rather intrusive patch set which touches the guts of the afs
callback mechanism.

* t/socket-cookie:
  afs: Avoid the void * argument of send_lls_callback_request().
  Kill afs socket cookie and afs_client_list.
  afs: Improve error handling of afs_signal_post_monitor().
</content>
</entry>
<entry>
<title>command.c: Move and improve comment for current_time.</title>
<updated>2026-05-26T11:48:43Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-05-08T22:59:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=f181167423aabc3576ad7df615c1c9b386bdebe6'/>
<id>urn:sha1:f181167423aabc3576ad7df615c1c9b386bdebe6</id>
<content type='text'>
Move it next to the definition of the variable it purports to document,
and reword the comment to clarify why nobody updates the now pointer in
command handler context.
</content>
</entry>
<entry>
<title>command.c: Remove unnecessary casts.</title>
<updated>2026-05-24T18:52:28Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-05-08T23:03:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=a3b65222fb71dfbb3bfa0e0334f98e0c92ee7df3'/>
<id>urn:sha1:a3b65222fb71dfbb3bfa0e0334f98e0c92ee7df3</id>
<content type='text'>
The comment from commit f90e920b4 in 2017 no longer applies to more recent
clang versions. In particular clang version 19.1.7 of FreeBSD 13.5 does not
complain without the casts. so..
</content>
</entry>
<entry>
<title>server: Move alarm(2) call into handle_connect() of command.c.</title>
<updated>2026-05-08T20:19:58Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-04-01T22:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=03021ecdbdd7bfe840c503adb1891e7c1f0d6da2'/>
<id>urn:sha1:03021ecdbdd7bfe840c503adb1891e7c1f0d6da2</id>
<content type='text'>
Since the alarm clock is cancelled in handle_connect(), let's also set it
there. Remove the pointless ALARM_TIMEOUT macro while at it.
</content>
</entry>
<entry>
<title>Prefer paraslash_version() over PACKAGE_VERSION.</title>
<updated>2026-05-03T19:15:30Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-04-28T17:12:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=0fcf0ab6852d64d6b9941f850dbdcdcde1b60d1f'/>
<id>urn:sha1:0fcf0ab6852d64d6b9941f850dbdcdcde1b60d1f</id>
<content type='text'>
Currently we use at several places the package version, i.e. the version
that was checked out when the package was configured. The paraslash version
is recomputed every time the package is build, so this is more up-to-date.
So use paraslash_version() everywhere and remove PACKAGE_VERSION.
</content>
</entry>
<entry>
<title>Kill afs socket cookie and afs_client_list.</title>
<updated>2026-04-29T18:37:48Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-03-31T22:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=7557912e8a30577b85ae91c7f984173776e72e09'/>
<id>urn:sha1:7557912e8a30577b85ae91c7f984173776e72e09</id>
<content type='text'>
We now create a per-command socket pair in the command handler and use the
permanent server-afs socket to pass one end of the pair from the command
handler to the afs process.

With this approach only the command handlers can possibly talk to the
afs process, so we don't need to worry about malicious or bogus connections
arriving at the local socket.

Consequently, we may remove the socket cookie and employ blocking I/O for the
shared memory identifiers that are transferred through the per-command socket.
Connections are now dispatched in one go, obviating the need to keep track
of connected clients. So remove struct afs_client and the client list.
</content>
</entry>
<entry>
<title>Switch to SPDX identifiers.</title>
<updated>2026-03-17T22:45:43Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-03-15T14:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=ea0cecf96e08c489fdcc94d046019f4ce46f58e2'/>
<id>urn:sha1:ea0cecf96e08c489fdcc94d046019f4ce46f58e2</id>
<content type='text'>
Generated with

	sed -i 's|Copyright.*Andre Noll.*|SPDX-License-Identifier: GPL-2.0 */|g' *.c *.h

followed by manually tweaking the result a bit. No license change intended.
</content>
</entry>
<entry>
<title>Move user_list.[ch] into server.[ch].</title>
<updated>2026-03-01T13:44:14Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-02-13T20:28:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=81a135b2cfee5c3d54c30c8ffea601c7a24fbf6d'/>
<id>urn:sha1:81a135b2cfee5c3d54c30c8ffea601c7a24fbf6d</id>
<content type='text'>
This works because only the server links with user_list.o. Since struct user
contains a list head, list.h must now be included *before* server.h, which
requires some trivial header shuffling in the .c files that include server.h.
</content>
</entry>
<entry>
<title>aft.c: Boolify send_afs_status().</title>
<updated>2026-03-01T13:44:14Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-02-16T21:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=8e3c1445477beb9d94aee5be28bce560998d6dfe'/>
<id>urn:sha1:8e3c1445477beb9d94aee5be28bce560998d6dfe</id>
<content type='text'>
The "parser_friendly" parameter is used as a boolean, so don't declare it
as int. The function passes a reference to the bool via the callback method,
so the callback, afs_stat_callback(), needs to be adjusted as well.
</content>
</entry>
<entry>
<title>Merge topic branch t/rm_dccp into master</title>
<updated>2026-02-18T13:38:44Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-02-18T13:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=ad58e59cfcf195710d0b96a141e62074a81e948d'/>
<id>urn:sha1:ad58e59cfcf195710d0b96a141e62074a81e948d</id>
<content type='text'>
Remove dccp support

The first patch of this series removes the dccp sender and receiver. Both are
deprecated as of paraslash-0.7.6, released in 2025-11. The short depreciation
period should not be a problem because dccp was never adopted widely, and
the linux kernel no longer supports the protocol.

The removal paves the way for quite some subsequent cleanups. In particular,
the acl and chunk queue APIs, which used to be shared between the http and
the dccp sender, no longer need to be public, so subsequent patches of the
series move acl.c and chunk_queue.c into http_send.c.

* refs/heads/t/rm_dccp:
  http_send.c: Simplify format_url().
  Move format_url() from net.c to http_send.c.
  Merge acl.c into http_send.c.
  Merge chunk_queue.c into http_send.c.
  http_send.c: Move header_sent to struct private_http_sender_data.
  http_send.c: Move chunk queue into struct private_http_sender_data.
  struct sender: Remove unused sched pointer argument of -&gt;post_monitor().
  struct sender: Remove unused chunks_sent parameter of -&gt;send().
  http_send.c: Kill http_send_ok_msg() and http_send_err_msg().
  http_send.c: Remove trivial shutdown wrapper.
  http_send.c: Merge free_sender_status() into http_shutdown().
  http_send.c: Merge init_sender_status() into http_send_init().
  http_send.c: Rename or remove generic_foo().
  http_send.c: Remove sender_status pointer arguments.
  Move struct sender_status into http_send.c.
  Move send_common.c into http_send.c.
  Remove dccp.
</content>
</entry>
</feed>
