mirror of
https://git.proxmox.com/git/libhttp-daemon-perl
synced 2025-10-05 13:52:04 +00:00
43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
Source: libhttp-daemon-perl
|
|
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
|
|
Uploaders: gregor herrmann <gregoa@debian.org>
|
|
Section: perl
|
|
Testsuite: autopkgtest-pkg-perl
|
|
Priority: optional
|
|
Build-Depends: debhelper (>= 11)
|
|
Build-Depends-Indep: perl,
|
|
libhttp-date-perl,
|
|
libhttp-message-perl,
|
|
libio-socket-ip-perl,
|
|
liblwp-mediatypes-perl
|
|
Standards-Version: 4.3.0
|
|
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhttp-daemon-perl
|
|
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhttp-daemon-perl.git
|
|
Homepage: https://metacpan.org/release/HTTP-Daemon
|
|
|
|
Package: libhttp-daemon-perl
|
|
Architecture: all
|
|
Depends: ${misc:Depends},
|
|
${perl:Depends},
|
|
libhttp-date-perl,
|
|
libhttp-message-perl,
|
|
libio-socket-ip-perl,
|
|
liblwp-mediatypes-perl
|
|
Breaks: libwww-perl (<< 6.00)
|
|
Replaces: libwww-perl (<< 6.00)
|
|
Description: simple http server class
|
|
Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a
|
|
socket for incoming requests. The HTTP::Daemon is a subclass of
|
|
IO::Socket::INET, so you can perform socket operations directly on it too.
|
|
.
|
|
The accept() method will return when a connection from a client is available.
|
|
The returned value will be an HTTP::Daemon::ClientConn object which is
|
|
another IO::Socket::INET subclass. Calling the get_request() method on this
|
|
object will read data from the client and return an HTTP::Request object. The
|
|
ClientConn object also provide methods to send back various responses.
|
|
.
|
|
This HTTP daemon does not fork(2) for you. Your application, i.e. the user of
|
|
the HTTP::Daemon is responsible for forking if that is desirable. Also note
|
|
that the user is responsible for generating responses that conform to the
|
|
HTTP/1.1 protocol.
|