------------------------------------------------------------------------
r61 | j | 2004-11-07 00:23:17 +0100 (dim, 07 nov 2004) | 2 lines

Socket errors are now ignored in sharedance.php

------------------------------------------------------------------------
r60 | j | 2004-11-07 00:19:30 +0100 (dim, 07 nov 2004) | 3 lines

If for whatever reason the server dies with a signal that is not
catched, the cleanup process will now also die after the wakeup.

------------------------------------------------------------------------
r59 | j | 2004-11-07 00:00:47 +0100 (dim, 07 nov 2004) | 4 lines

If we can't find a key, no need to issue a warning as severe as
LOG_WARNING. It can happen, especially when the server is (re)started,
so there's no need to flood the log files.

------------------------------------------------------------------------
r58 | j | 2004-11-06 23:55:49 +0100 (sam, 06 nov 2004) | 3 lines

daemonization should occur before chroot in order to be able to open
/dev/null.

------------------------------------------------------------------------
r57 | j | 2004-11-06 22:58:48 +0100 (sam, 06 nov 2004) | 2 lines

The NEWS file has been updated.

------------------------------------------------------------------------
r56 | j | 2004-11-06 22:52:06 +0100 (sam, 06 nov 2004) | 2 lines

Version has been bumped to 0.5

------------------------------------------------------------------------
r55 | j | 2004-11-06 22:50:20 +0100 (sam, 06 nov 2004) | 3 lines

A showstopper bug in session_handler.php has been fixed: the name of
the function responsible of fetching the data was bogus.

------------------------------------------------------------------------
r54 | j | 2004-11-06 22:44:02 +0100 (sam, 06 nov 2004) | 3 lines

session.save_handler needs to be set to "user" in php.ini to use a
custom handler.

------------------------------------------------------------------------
r53 | j | 2004-11-06 22:41:56 +0100 (sam, 06 nov 2004) | 3 lines

empty(0) is true, so we now use isset() instead of empty() in
test_session.php in order to make that sample actually work.

------------------------------------------------------------------------
r52 | j | 2004-08-31 22:03:38 +0200 (mar, 31 ao 2004) | 3 lines

If autoprepend_file is to be used, no need to require_once the same
file.

------------------------------------------------------------------------
r51 | j | 2004-08-31 14:57:06 +0200 (mar, 31 ao 2004) | 2 lines

Extra white spaces at the end of a line were removed.

------------------------------------------------------------------------
r50 | j | 2004-08-31 13:46:47 +0200 (mar, 31 ao 2004) | 2 lines

Don't define argv0 and argv_lth unless we're on Linux.

------------------------------------------------------------------------
r49 | j | 2004-08-31 13:22:38 +0200 (mar, 31 ao 2004) | 3 lines

sharedanced is better in sbin than bin.
Make it match the doc btw, reported by Khalid Ahsein <k@capoune.net>.

------------------------------------------------------------------------
r48 | j | 2004-08-31 11:26:40 +0200 (mar, 31 ao 2004) | 2 lines

An empty line has been removed.

------------------------------------------------------------------------
r46 | j | 2004-08-31 11:09:05 +0200 (mar, 31 ao 2004) | 2 lines

Documentation has been updated.

------------------------------------------------------------------------
r45 | j | 2004-08-31 10:48:28 +0200 (mar, 31 ao 2004) | 2 lines

Bump to version 0.4

------------------------------------------------------------------------
r44 | j | 2004-08-31 10:47:32 +0200 (mar, 31 ao 2004) | 2 lines

Files are now filled atomically.

------------------------------------------------------------------------
r43 | j | 2004-08-31 10:29:42 +0200 (mar, 31 ao 2004) | 3 lines

No need to wait until client disconnects to close the storage
descriptors. Let's do it directly in client_process_store() for now.

------------------------------------------------------------------------
r42 | j | 2004-08-31 10:26:03 +0200 (mar, 31 ao 2004) | 2 lines

Create new files with O_TRUNC.

------------------------------------------------------------------------
r41 | j | 2004-08-31 10:24:44 +0200 (mar, 31 ao 2004) | 2 lines

Some words have been added about system tuning.

------------------------------------------------------------------------
r40 | j | 2004-08-31 10:18:57 +0200 (mar, 31 ao 2004) | 2 lines

Trim to 78 chars per line.

------------------------------------------------------------------------
r38 | j | 2004-08-31 00:15:40 +0200 (mar, 31 ao 2004) | 2 lines

Sharedance has been tested with PHP 4 and PHP 5.

------------------------------------------------------------------------
r37 | j | 2004-08-31 00:14:35 +0200 (mar, 31 ao 2004) | 2 lines

The NEWS file has been filled a bit.

------------------------------------------------------------------------
r36 | j | 2004-08-31 00:14:04 +0200 (mar, 31 ao 2004) | 2 lines

There's nothing like *carp* files in this project :)

------------------------------------------------------------------------
r35 | j | 2004-08-31 00:09:59 +0200 (mar, 31 ao 2004) | 2 lines

Some real documentation has been written.

------------------------------------------------------------------------
r34 | j | 2004-08-30 23:32:49 +0200 (lun, 30 ao 2004) | 2 lines

We now chroot() to the work directory before dropping privileges.

------------------------------------------------------------------------
r33 | j | 2004-08-30 23:16:44 +0200 (lun, 30 ao 2004) | 2 lines

Version has been bumped to 0.3

------------------------------------------------------------------------
r32 | j | 2004-08-30 23:16:21 +0200 (lun, 30 ao 2004) | 2 lines

Reverse order.

------------------------------------------------------------------------
r31 | j | 2004-08-30 23:15:03 +0200 (lun, 30 ao 2004) | 3 lines

SIGTERM is now caught in the server process in order to properly kill
the fork()ed cleanup child and then kill back the server.

------------------------------------------------------------------------
r30 | j | 2004-08-30 23:10:24 +0200 (lun, 30 ao 2004) | 2 lines

Some bits from pure-ftpd were imported to change process names.

------------------------------------------------------------------------
r29 | j | 2004-08-30 23:02:54 +0200 (lun, 30 ao 2004) | 2 lines

A null umask makes things the way we expect them to be.

------------------------------------------------------------------------
r28 | j | 2004-08-30 23:01:06 +0200 (lun, 30 ao 2004) | 2 lines

--uid=xxx and --gid=xxx were implemented.

------------------------------------------------------------------------
r27 | j | 2004-08-30 22:48:16 +0200 (lun, 30 ao 2004) | 2 lines

a bunch => a pool

------------------------------------------------------------------------
r25 | j | 2004-08-18 23:18:36 +0200 (mer, 18 ao 2004) | 2 lines

Bump version numbers.

------------------------------------------------------------------------
r24 | j | 2004-08-18 23:12:38 +0200 (mer, 18 ao 2004) | 3 lines

When the user loads the page for the first time, he reloaded it 0
times, not 1.

------------------------------------------------------------------------
r23 | j | 2004-08-18 23:11:33 +0200 (mer, 18 ao 2004) | 2 lines

If we try to reopen something that was never opened before, just fail.

------------------------------------------------------------------------
r22 | j | 2004-08-18 23:10:17 +0200 (mer, 18 ao 2004) | 3 lines

If sharedance_reopen() fails, don't bother trying to do anything with
the descriptor.

------------------------------------------------------------------------
r21 | j | 2004-08-18 23:08:38 +0200 (mer, 18 ao 2004) | 2 lines

sharedance_reopen() should always return 0 if everything was ok.

------------------------------------------------------------------------
r20 | j | 2004-08-18 23:05:26 +0200 (mer, 18 ao 2004) | 2 lines

Delete unused $data_len references.

------------------------------------------------------------------------
r19 | j | 2004-08-18 23:04:40 +0200 (mer, 18 ao 2004) | 2 lines

Increase pedanticity.

------------------------------------------------------------------------
r18 | j | 2004-08-18 23:03:53 +0200 (mer, 18 ao 2004) | 2 lines

New script: test_session.php which basically does what the name suggests.

------------------------------------------------------------------------
r17 | j | 2004-08-18 22:56:07 +0200 (mer, 18 ao 2004) | 2 lines

Group libraries together.

------------------------------------------------------------------------
r16 | j | 2004-08-18 22:53:58 +0200 (mer, 18 ao 2004) | 2 lines

Rename test.php to test_sharedance.php

------------------------------------------------------------------------
r15 | j | 2004-08-18 22:52:22 +0200 (mer, 18 ao 2004) | 2 lines

Ignore ChangeLog.

------------------------------------------------------------------------
r14 | j | 2004-08-18 22:49:45 +0200 (mer, 18 ao 2004) | 2 lines

Drop the ChangeLog file from the repository.

------------------------------------------------------------------------
r13 | j | 2004-08-18 22:47:46 +0200 (mer, 18 ao 2004) | 5 lines

New script: session_handler.php

That script implements an alternative session handler that stores
session data in a sharedance server.

------------------------------------------------------------------------
r12 | j | 2004-08-18 22:45:48 +0200 (mer, 18 ao 2004) | 3 lines

Check for an initialized GLOBAL_SHAREDANCE_FP with empty(), because
sharedance_close() can sometimes be called before sharedance_open().

------------------------------------------------------------------------
r11 | j | 2004-08-18 22:40:39 +0200 (mer, 18 ao 2004) | 3 lines

sharedance_delete() should return 0 if everything was, ok, not an
undefined variable.

------------------------------------------------------------------------
r10 | j | 2004-08-18 22:38:05 +0200 (mer, 18 ao 2004) | 2 lines

Return FALSE instead of an empty string when a lookup is not successful.

------------------------------------------------------------------------
r9 | j | 2004-08-18 22:29:04 +0200 (mer, 18 ao 2004) | 3 lines

Rename DEFAULT_HOST and DEFAULT_PORT to SHAREDANCE_DEFAULT_* in order
to avoid possible clash with other scripts.

------------------------------------------------------------------------
r8 | j | 2004-08-18 21:54:38 +0200 (mer, 18 ao 2004) | 2 lines

Add .svnignore files.

------------------------------------------------------------------------
r7 | j | 2004-08-18 21:44:02 +0200 (mer, 18 ao 2004) | 3 lines

Listen to IPv6 if we resolved to an IPv6 address. On OpenBSD, listen
to IPv4 if we didn't specify anything.

------------------------------------------------------------------------
r6 | j | 2004-08-18 21:42:33 +0200 (mer, 18 ao 2004) | 2 lines

Add a temporary hack for OpenBSD in order to bind to IPv4 by default.

------------------------------------------------------------------------
r5 | j | 2004-08-18 21:40:33 +0200 (mer, 18 ao 2004) | 2 lines

Fix pasto: listenfd6 vs listen_fd.

------------------------------------------------------------------------
r4 | j | 2004-08-18 21:39:44 +0200 (mer, 18 ao 2004) | 2 lines

Use IPV6_V6ONLY if available to bind both IPv4+IPv6.

------------------------------------------------------------------------
r3 | j | 2004-08-18 21:38:46 +0200 (mer, 18 ao 2004) | 3 lines

Socket creation and binding are different things, use different error
messages.

------------------------------------------------------------------------
r1 | j | 2004-08-18 21:18:25 +0200 (mer, 18 ao 2004) | 2 lines

Initial revision.

------------------------------------------------------------------------
