ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/tcp.ext
(Generate patch)

Comparing deliantra/server/ext/tcp.ext (file contents):
Revision 1.9 by root, Sat Nov 24 05:57:09 2007 UTC vs.
Revision 1.10 by root, Mon May 5 09:01:58 2008 UTC

26 my $fd = fileno $fh; 26 my $fd = fileno $fh;
27 my $host = inet_ntoa +(sockaddr_in $peername)[1]; 27 my $host = inet_ntoa +(sockaddr_in $peername)[1];
28 28
29 warn "new connection from $host\n"; 29 warn "new connection from $host\n";
30 30
31 # HACK to avoid blocking on common files on log-in.
32 # remove once async
33 cf::async {#d#
34 warn "HACK: $cf::CONFDIR/$_", Coro::AIO::aio_load "$cf::CONFDIR/$_", my $dummy for qw(rules news motd);#d#
35 warn "HACK: $cf::VARDIR/crossfiremail", Coro::AIO::aio_load "$cf::VARDIR/crossfiremail", my $dummy;#d#
31 cf::client::create $fd, $host; 36 cf::client::create $fd, $host;
37 undef $fh;#d#
38 };#d#d
32}; 39};
33 40

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines