Merge commit 'a8f2cb2f'

Conflicts:
	INSTALL.md
This commit is contained in:
Albert Zeyer
2011-04-16 21:19:01 +02:00
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ Perl modules (install from CPAN if needed e.g. `perl -MCPAN -e 'install X'`):
* type:
$ export ARCHFLAGS="-arch x86_64" (replace x86_64 by your arch)
$ brew/port install pkg-config libao
$ brew install pkg-config libao # for [Homebrew](https://github.com/mxcl/homebrew)
$ port install libao # for [MacPorts](http://www.macports.org/)
$ make
$ perl -MCPAN -e 'install Crypt::OpenSSL::RSA'
$ perl -MCPAN -e 'install IO::Socket::INET6'
+1 -1
View File
@@ -261,7 +261,7 @@ sub conn_handle_request {
my ($fh, $conn) = @_;
my $req = $conn->{req};;
my $clen = $req->header('content-length') // 0;
my $clen = $req->header('content-length') || 0;
if ($clen > 0 && !length($req->content)) {
$conn->{req_need} = $clen;
return; # need more!