Summary

irc: tcp-read-timeout not paramaterized everywhere that it needs to be

Metadata

Attachments

Description

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.

Changes and comments

[2014-08-16 22:58:54 UTC] acharlton attached irc.patch (description=#f)

[2014-08-17 21:13:55 UTC] felix changed status from new to closed

[2014-08-17 21:13:55 UTC] felix set resolution to fixed

[2014-08-17 21:13:55 UTC] felix wrote:

Should be fixed in 1.9.8.