diff options
author | Eric Wong <e@80x24.org> | 2013-10-26 04:00:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2013-10-26 04:02:18 +0000 |
commit | 1506dcd4741d64538bf6d822413219ddb1ec11c2 (patch) | |
tree | f3c54705c1a94e7f0750ccce3ce5fb3c24f095fa /lib/yahns/unix_server.rb | |
parent | a224a0bbb16aeed9a1420c6a770e723cf30a28b3 (diff) | |
download | yahns-1506dcd4741d64538bf6d822413219ddb1ec11c2.tar.gz |
This should make things a little easier-to-follow and possibly improve method cache hit rates for servers with multiple acceptors.
Diffstat (limited to 'lib/yahns/unix_server.rb')
-rw-r--r-- | lib/yahns/unix_server.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/yahns/unix_server.rb b/lib/yahns/unix_server.rb new file mode 100644 index 0000000..3269db3 --- /dev/null +++ b/lib/yahns/unix_server.rb @@ -0,0 +1,7 @@ +# -*- encoding: binary -*- +# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> et. al. +# License: GPLv3 or later (see COPYING for details) +require_relative 'acceptor' +class Yahns::UNIXServer < Kgio::UNIXServer + include Yahns::Acceptor +end |