From ccd85c2253dfccab755a22386a99050c8b078bf4 Mon Sep 17 00:00:00 2001 From: Jason May Date: Fri, 11 Mar 2011 18:14:41 -0500 Subject: stop sleeping after hello --- lib/App/Termcast.pm | 8 +------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-54-g00ecf