Bug#482670: ITP: libhttp-server-simple-recorder-perl -- Mixin to record HTTP::Server::Simple's sockets
Package: wnpp
Severity: wishlist
Owner: AGOSTINI Yves <agostini@univ-metz.fr>
* Package name : libhttp-server-simple-recorder-per
Version : 0.02
Upstream Author : David Glasser <glasser@bestpractical.com>
* URL : http://search.cpan.org/dist/HTTP-Server-Simple-Recorder
* License : Perl
Programming Lang: Perl
Description : Mixin to record HTTP::Server::Simple's sockets
This module allows you to record all HTTP communication between an
HTTP::Server::Simple-derived server and its clients. It is a mixin, so
it doesn't itself subclass HTTP::Server::Simple; you need to subclass from
both HTTP::Server::Simple::Recorder and an actual HTTP::Server::Simple subclass,
and HTTP::Server::Simple::Recorder should be listed first.
.
Every time a client connects to your server, this module will open a pair of files and log
the communication between the file and server to these files. Each connection gets a serial
number starting at 1. The filename used is <$self-recorder_prefix>>, then a period,
then the connection serial number, then a period, then either "in" or "out".
recorder_prefix defaults to /tmp/http-server-simple-recorder, but you can override that
in your subclass. For example, you might want to include the process ID.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: