BSD Ports

www/p5-HTTP-Daemon 6.17 FreeBSD

Simple HTTP server class

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
25.4 KiB, 78.2 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDwww/p5-HTTP-Daemon6.17
OpenBSDwww/p5-HTTP-Daemon6.17
NetBSDwww/p5-HTTP-Daemon6.17nb1
DragonFlywww/p5-HTTP-Daemon6.16
MidnightBSDwww/p5-HTTP-Daemon6.17
HardenedBSDwww/p5-HTTP-Daemon6.17
GhostBSDwww/p5-HTTP-Daemon6.17
OPNsensewww/p5-HTTP-Daemon6.17

Install

Binary package:

pkg install p5-HTTP-Daemon

From the ports tree:

cd /usr/ports/www/p5-HTTP-Daemon/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-HTTP-Daemon>0:www/p5-HTTP-Daemon

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.176.176.146.166.17
FreeBSD:14:quarterly6.176.17n/a6.166.17
FreeBSD:15:latest6.176.17n/a6.166.16
FreeBSD:15:quarterly6.176.17n/an/an/a
FreeBSD:16:latest6.176.17n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 11

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/HTTP/Daemon.pm
  • %%PERL5_MAN3%%/HTTP::Daemon.3.gz
distinfo 1
FileSizeSHA256
HTTP-Daemon-6.17.tar.gz4865716281580c40e23108d028434698b5d7d53637bf904c9df822481e253cbec920c
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.