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.
|