Merge commit 'a8f2cb2f'
Conflicts: INSTALL.md
This commit is contained in:
+2
-1
@@ -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
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user