From a6c863e41b8adc2ea1d35e71db443bb93637cde2 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Sat, 12 Jul 2003 16:10:06 +0000 Subject: [PATCH] Change timeout to 30s. Add notice of changes made. --- rawdoglib/feedparser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rawdoglib/feedparser.py b/rawdoglib/feedparser.py index 3ffce0f..c315ead 100644 --- a/rawdoglib/feedparser.py +++ b/rawdoglib/feedparser.py @@ -28,6 +28,9 @@ Things it handles that choke other parsers: - multiple content items per entry (Pie) Requires Python 2.2 or later + +Modified for rawdog usage by Adam Sampson : +- increased socket timeout to 30s """ __version__ = "2.4" @@ -85,7 +88,7 @@ __history__ = """ try: import timeoutsocket # http://www.timo-tasi.org/python/timeoutsocket.py - timeoutsocket.setDefaultSocketTimeout(10) + timeoutsocket.setDefaultSocketTimeout(30) except ImportError: pass import cgi, re, sgmllib, string, StringIO, urllib, gzip -- 2.35.1