Tk Library Source Code

View Ticket
Login
Ticket UUID: 3012802
Title: add timeout feature for nntp
Type: RFE Version: None
Submitter: davidlallen Created on: 2010-06-07 20:21:19
Subsystem: nntp Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:35
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
Some packages such as http support a timeout.  For unreliable links this is very helpful.  However, nntp simply uses "gets".  See ::nntp::fetch.  Please add a similar timeout feature for nntp.  Using http as an approximate model, I have added this capability, using fileevent and vwait.  Please see attachment; you can diff ::nntp::fetch, and please see additional functions ::nntp::getline and ::nntp::timeout.  Unfortunately nntp also does not support convenient configuration of options, so I have used a hardcoded timeout of 60 seconds.  This is probably not appropriate.
User Comments: davidlallen added on 2010-06-08 03:21:20:

File Added - 376477: nntp.tcl

Attachments: