Skip to content

Commit 9514eb3

Browse files
HTTP-Daemon-6.05
- Added the .perltidyrc from the libwww-perl distribution - Tidied the test suite with perltidy - Tidied Daemon.pm - Turned on EOL and tab tests - Removed obvious indirect object syntax in test suite - Added IPv6 support. (GH#24) Thanks, @ppisar and @intrigeri - Added IO::Socket::IP as a prerequisite rather than IO::Socket::INET
1 parent 7c078c8 commit 9514eb3

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

CONTRIBUTING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ request to the .mailmap file to contain the correct mapping.
104104

105105

106106
This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.014
107-
from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.148.
107+
from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.149.

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Revision history for HTTP-Daemon
22

3-
{{$NEXT}}
3+
6.05 2019-07-26 20:41:05Z
44
- Added the .perltidyrc from the libwww-perl distribution
55
- Tidied the test suite with perltidy
66
- Tidied Daemon.pm

README.pod

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ HTTP::Daemon - A simple http server class
88

99
=head1 VERSION
1010

11-
version 6.04
11+
version 6.05
1212

1313
=head1 SYNOPSIS
1414

@@ -35,12 +35,12 @@ version 6.04
3535

3636
Instances of the C<HTTP::Daemon> class are HTTP/1.1 servers that
3737
listen on a socket for incoming requests. The C<HTTP::Daemon> is a
38-
subclass of C<IO::Socket::INET>, so you can perform socket operations
38+
subclass of C<IO::Socket::IP>, so you can perform socket operations
3939
directly on it too.
4040

4141
The accept() method will return when a connection from a client is
4242
available. The returned value will be an C<HTTP::Daemon::ClientConn>
43-
object which is another C<IO::Socket::INET> subclass. Calling the
43+
object which is another C<IO::Socket::IP> subclass. Calling the
4444
get_request() method on this object will read data from the client and
4545
return an C<HTTP::Request> object. The ClientConn object also provide
4646
methods to send back various responses.
@@ -51,7 +51,7 @@ desirable. Also note that the user is responsible for generating
5151
responses that conform to the HTTP/1.1 protocol.
5252

5353
The following methods of C<HTTP::Daemon> are new (or enhanced) relative
54-
to the C<IO::Socket::INET> base class:
54+
to the C<IO::Socket::IP> base class:
5555

5656
=over 4
5757

@@ -60,7 +60,7 @@ to the C<IO::Socket::INET> base class:
6060
=item $d = HTTP::Daemon->new( %opts )
6161

6262
The constructor method takes the same arguments as the
63-
C<IO::Socket::INET> constructor, but unlike its base class it can also
63+
C<IO::Socket::IP> constructor, but unlike its base class it can also
6464
be called without any arguments. The daemon will then set up a listen
6565
queue of 5 connections and allocate some random port number.
6666

@@ -72,7 +72,7 @@ HTTP port will be constructed like this:
7272
LocalPort => 80,
7373
);
7474

75-
See L<IO::Socket::INET> for a description of other arguments that can
75+
See L<IO::Socket::IP> for a description of other arguments that can
7676
be used configure the daemon during construction.
7777

7878
=item $c = $d->accept
@@ -89,7 +89,7 @@ class a subclass of C<HTTP::Daemon::ClientConn>.
8989

9090
The accept method will return C<undef> if timeouts have been enabled
9191
and no connection is made within the given time. The timeout() method
92-
is described in L<IO::Socket>.
92+
is described in L<IO::Socket::IP>.
9393

9494
In list context both the client object and the peer address will be
9595
returned; see the description of the accept method L<IO::Socket> for
@@ -111,7 +111,7 @@ replaced with the version number of this module.
111111

112112
=back
113113

114-
The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::INET>
114+
The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::IP>
115115
subclass. Instances of this class are returned by the accept() method
116116
of C<HTTP::Daemon>. The following methods are provided:
117117

@@ -285,7 +285,7 @@ Return a reference to the corresponding C<HTTP::Daemon> object.
285285

286286
RFC 2616
287287

288-
L<IO::Socket::INET>, L<IO::Socket>
288+
L<IO::Socket::IP>, L<IO::Socket>
289289

290290
=head1 SUPPORT
291291

@@ -303,7 +303,7 @@ Gisle Aas <gisle@activestate.com>
303303

304304
=head1 CONTRIBUTORS
305305

306-
=for stopwords Ville Skyttä Olaf Alders Mark Stosberg Slaven Rezic Karen Etheridge Zefram Tom Hukins Chase Whitener Mike Schilli Alexey Tourbin Bron Gondwana Hans-H. Froehlich Ian Kilgore Jacob J Ondrej Hanak Perlover Peter Rabbitson Robert Stone Rolf Grossmann Sean M. Burke Spiros Denaxas Steve Hay Todd Lipcon Tony Finch Toru Yamaguchi Yuri Karaban amire80 jefflee john9art murphy phrstbrn ruff Adam Kennedy sasao Sjogren Alex Kapranoff Andreas J. Koenig Bill Mann DAVIDRW Daniel Hedlund David E. Wheeler FWILES Father Chrysostomos Gavin Peters Graeme Thompson
306+
=for stopwords Ville Skyttä Olaf Alders Mark Stosberg Karen Etheridge Chase Whitener Slaven Rezic Zefram Tom Hukins Mike Schilli Alexey Tourbin Bron Gondwana Hans-H. Froehlich Ian Kilgore Jacob J Ondrej Hanak Perlover Peter Rabbitson Robert Stone Rolf Grossmann Sean M. Burke Spiros Denaxas Steve Hay Todd Lipcon Tony Finch Toru Yamaguchi Yuri Karaban amire80 jefflee john9art murphy phrstbrn ruff Adam Kennedy sasao Sjogren Alex Kapranoff Andreas J. Koenig Bill Mann DAVIDRW Daniel Hedlund David E. Wheeler FWILES Father Chrysostomos Gavin Peters Graeme Thompson
307307

308308
=over 4
309309

@@ -321,23 +321,23 @@ Mark Stosberg <MARKSTOS@cpan.org>
321321

322322
=item *
323323

324-
Slaven Rezic <slaven@rezic.de>
324+
Karen Etheridge <ether@cpan.org>
325325

326326
=item *
327327

328-
Karen Etheridge <ether@cpan.org>
328+
Chase Whitener <capoeirab@cpan.org>
329329

330330
=item *
331331

332-
Zefram <zefram@fysh.org>
332+
Slaven Rezic <slaven@rezic.de>
333333

334334
=item *
335335

336-
Tom Hukins <tom@eborcom.com>
336+
Zefram <zefram@fysh.org>
337337

338338
=item *
339339

340-
Chase Whitener <capoeirab@cpan.org>
340+
Tom Hukins <tom@eborcom.com>
341341

342342
=item *
343343

0 commit comments

Comments
 (0)