Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 18:08:45 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502132 - head/www/p5-HTTP-Daemon
Message-ID:  <201905201808.x4KI8j8v072669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon May 20 18:08:45 2019
New Revision: 502132
URL: https://svnweb.freebsd.org/changeset/ports/502132

Log:
  Add LICENSE
  
  - Update pkg-descr
  - Take maintainership

Modified:
  head/www/p5-HTTP-Daemon/Makefile
  head/www/p5-HTTP-Daemon/pkg-descr

Modified: head/www/p5-HTTP-Daemon/Makefile
==============================================================================
--- head/www/p5-HTTP-Daemon/Makefile	Mon May 20 18:08:40 2019	(r502131)
+++ head/www/p5-HTTP-Daemon/Makefile	Mon May 20 18:08:45 2019	(r502132)
@@ -7,11 +7,12 @@ CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	perl@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Simple HTTP server class
 
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENCE
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	p5-HTTP-Date>=6:www/p5-HTTP-Date \

Modified: head/www/p5-HTTP-Daemon/pkg-descr
==============================================================================
--- head/www/p5-HTTP-Daemon/pkg-descr	Mon May 20 18:08:40 2019	(r502131)
+++ head/www/p5-HTTP-Daemon/pkg-descr	Mon May 20 18:08:45 2019	(r502132)
@@ -1,4 +1,16 @@
-This module is used to create HTTP/1.1 servers that listen on a socket
-for incoming requests.
+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.
 
 WWW: https://metacpan.org/release/HTTP-Daemon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905201808.x4KI8j8v072669>