[Slim-Checkins] r9355 - /branches/6.5/server/Slim/Networking/Slimproto.pm

adrian at svn.slimdevices.com adrian at svn.slimdevices.com
Fri Sep 1 14:02:42 PDT 2006


Author: adrian
Date: Fri Sep  1 14:02:40 2006
New Revision: 9355

URL: http://svn.slimdevices.com?rev=9355&view=rev
Log:
Bug: N/A
Description: Read slimproto during idleStreams.  Otherwise timers are
processed in idleStreams, but slimproto is not, so reconnect logic
could potentially disconnect clients.

Modified:
    branches/6.5/server/Slim/Networking/Slimproto.pm

Modified: branches/6.5/server/Slim/Networking/Slimproto.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Networking/Slimproto.pm?rev=9355&r1=9354&r2=9355&view=diff
==============================================================================
--- branches/6.5/server/Slim/Networking/Slimproto.pm (original)
+++ branches/6.5/server/Slim/Networking/Slimproto.pm Fri Sep  1 14:02:40 2006
@@ -162,7 +162,7 @@
 	$parser_framelength{$clientsock} = 0;
 	$inputbuffer{$clientsock}='';
 
-	Slim::Networking::Select::addRead($clientsock, \&client_readable);
+	Slim::Networking::Select::addRead($clientsock, \&client_readable, 1); # processed during idleStreams
 	Slim::Networking::Select::addError($clientsock, \&slimproto_close);
 
 	$::d_slimproto && msg ("Slimproto accepted connection from: [" .  $ipport{$clientsock} . "]\n");



More information about the checkins mailing list