summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason May <jason.a.may@gmail.com>2011-03-11 18:14:41 -0500
committerJesse Luehrs <doy@tozt.net>2011-04-14 01:19:03 -0500
commitccd85c2253dfccab755a22386a99050c8b078bf4 (patch)
treea4a982a3d642de7adcfdf4b4c08914384c1c3db0
parentf571d1e6cb78d873b28248291e80076932ef98fc (diff)
downloadapp-termcast-ccd85c2253dfccab755a22386a99050c8b078bf4.tar.gz
app-termcast-ccd85c2253dfccab755a22386a99050c8b078bf4.zip
stop sleeping after hello
-rw-r--r--lib/App/Termcast.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm
index fe88c3f..d8ecb36 100644
--- a/lib/App/Termcast.pm
+++ b/lib/App/Termcast.pm
@@ -166,13 +166,7 @@ sub _build_socket {
geometry => [ $cols, $lines ],
);
- $socket->syswrite($self->establishment_message);
- select undef, undef, undef, 0.1; # XXX yuck :)
- # this is going away once I move
- # auth to on_data in ::Server
- # instead of on_connect or whatever
- # - jasonmay
- $socket->syswrite($resize_string);
+ $socket->syswrite($self->establishment_message . $resize_string);
# ensure the server accepted our connection info
# can't use _build_select_args, since that would cause recursion