chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1150: irc: tcp-read-timeout not paramaterized everyw


From: Chicken Trac
Subject: [Chicken-janitors] #1150: irc: tcp-read-timeout not paramaterized everywhere that it needs to be
Date: Sat, 16 Aug 2014 20:58:32 -0000

#1150: irc: tcp-read-timeout not paramaterized everywhere that it needs to be
------------------------+---------------------------------------------------
 Reporter:  acharlton   |       Owner:  felix  
     Type:  defect      |      Status:  new    
 Priority:  minor       |   Milestone:  someday
Component:  extensions  |     Version:  4.9.x  
 Keywords:  irc         |  
------------------------+---------------------------------------------------
 The parameter tcp-read-timeout is correctly set to irc:connection-
 reconnect-timeout in irc:connect, but it isn’t elsewhere. Notably, the
 procedure read-input, which calls read-line, should have a parametrization
 of tcp-read-timeout. Otherwise, the read-line times-out after the tcp
 default of one minute which is quite a bit shorter than desirable (the
 default irc:connection-reconnect-timout is one hour).

 read-input should be the only (additional) location where tcp-read-timout
 must be set. Higher level procedures (irc:listen, irc:run-message-loop)
 all read the input port through this procedure. The attached patch does
 this.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1150>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]