--- deliantra/server/ext/tcp.ext 2007/11/24 05:57:09 1.9 +++ deliantra/server/ext/tcp.ext 2008/05/05 09:03:46 1.11 @@ -28,6 +28,13 @@ warn "new connection from $host\n"; + # HACK to avoid blocking on common files on log-in. + # remove once async + cf::async {#d# + warn "HACK ext/tcp.ext: $cf::CONFDIR/$_\n" and Coro::AIO::aio_load "$cf::CONFDIR/$_", my $dummy for qw(rules news motd);#d# + warn "HACK ext/tcp.ext: $cf::LOCALDIR/crossfiremail\n" and Coro::AIO::aio_load "$cf::LOCALDIR/crossfiremail", my $dummy;#d# cf::client::create $fd, $host; + undef $fh;#d# + };#d#d };