| 1 |
HTTP-Server-Brick version 0.1.3 |
|---|
| 2 |
|
|---|
| 3 |
$Id$ |
|---|
| 4 |
|
|---|
| 5 |
HTTP::Server::Brick allows you to quickly wrap a prototype web server around some |
|---|
| 6 |
Perl code. The underlying server daemon is HTTP::Daemon and the performance should |
|---|
| 7 |
be fine for demo's, light internal systems, etc. |
|---|
| 8 |
|
|---|
| 9 |
See the POD documentation in the module for more information. |
|---|
| 10 |
|
|---|
| 11 |
INSTALLATION |
|---|
| 12 |
|
|---|
| 13 |
To install with Module::Build, you can use the following commands: |
|---|
| 14 |
|
|---|
| 15 |
perl Build.PL |
|---|
| 16 |
./Build |
|---|
| 17 |
./Build test |
|---|
| 18 |
./Build install |
|---|
| 19 |
|
|---|
| 20 |
Alternatively, run the following commands (Module::Build is still |
|---|
| 21 |
required, this is just a wrapper): |
|---|
| 22 |
|
|---|
| 23 |
perl Makefile.PL |
|---|
| 24 |
make |
|---|
| 25 |
make test |
|---|
| 26 |
make install |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
DEPENDENCIES |
|---|
| 30 |
|
|---|
| 31 |
LWP |
|---|
| 32 |
Test::More |
|---|
| 33 |
version |
|---|
| 34 |
|
|---|
| 35 |
BUGS AND LIMITATIONS |
|---|
| 36 |
|
|---|
| 37 |
It's version 0.1.3 - there's bound to be some bugs! |
|---|
| 38 |
|
|---|
| 39 |
The tests fail on windows due to forking limitations. I don't see any |
|---|
| 40 |
reason why the server itself won't work but I haven't tried it |
|---|
| 41 |
personally, and I have to figure out a way to test it from a test |
|---|
| 42 |
script that will work on Windows. |
|---|
| 43 |
|
|---|
| 44 |
In forking mode there is no attempt to limit the number of forked |
|---|
| 45 |
children - beware of forking yourself ;) |
|---|
| 46 |
|
|---|
| 47 |
No attention has been given to propagating any exception text into the |
|---|
| 48 |
http error (although the exception/die message will appear in the |
|---|
| 49 |
error_log). |
|---|
| 50 |
|
|---|
| 51 |
Versions 1.02 and earlier of HTTP::Daemon::SSL has a |
|---|
| 52 |
feature/documentation conflict where it will never timeout. This means |
|---|
| 53 |
your server won't respond to a HUP signal until the next request is |
|---|
| 54 |
served. Version 1.03_01 (developer release) and later do not have this |
|---|
| 55 |
issue. |
|---|
| 56 |
|
|---|
| 57 |
Latest versions are always available from CPAN. Development versions |
|---|
| 58 |
are available from my CVS repository: |
|---|
| 59 |
|
|---|
| 60 |
http://cvs.pumptheory.com/viewcvs/viewcvs.cgi/perl/HTTP-Server-Brick/ |
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
COPYRIGHT AND LICENCE |
|---|
| 64 |
|
|---|
| 65 |
Copyright (C) 2007, Mark Aufflick <mark@aufflick.com> http://mark.aufflick.com |
|---|
| 66 |
Portions Copyright (c) 2007, Hans Dieter Pearcey C<< <hdp@pobox.com> >> |
|---|
| 67 |
|
|---|
| 68 |
All rights reserved. |
|---|
| 69 |
|
|---|
| 70 |
This library is free software; you can redistribute it and/or modify |
|---|
| 71 |
it under the same terms as Perl itself. |
|---|
| 72 |
|
|---|
| 73 |
|
|---|