Facundo Batista wrote:
Steve Holden wrote:
1) There is work afoot to build timeout arguments into network libraries
for 2.6, and I know Facundo Batista has been involved, you might want to
Google or email Facundo about that.
Right now (in svn trunk) httplib, ftplib, telnetlib, etc, has
John Nagle wrote:
I took a look at Facundo Batista's work in the tracker, and he
currently seems to be trying to work out a good way to test the
existing SSL module. It has to connect to something to be tested,
Right now, test_socket_ssl.py has, besides the previous tests, the
Steve Holden wrote:
1) There is work afoot to build timeout arguments into network libraries
for 2.6, and I know Facundo Batista has been involved, you might want to
Google or email Facundo about that.
Right now (in svn trunk) httplib, ftplib, telnetlib, etc, has a timeout
argument.
If you
John Nagle wrote:
I thought I had all the timeout problems with urllib worked around,
but no.
socket.setdefaulttimeout is useful, but not always effective.
I'm setting that to 15 seconds.
If the host end won't open the connection within 15 seconds,
urllib times out. But if the host
Steve Holden wrote:
John Nagle wrote:
Then we'd have a reasonable network timeout system.
We have about half of the above now, but it's not consistent.
Comments?
The only comments I'll make for now are
1) There is work afoot to build timeout arguments into network libraries
for 2.6,
I thought I had all the timeout problems with urllib worked around,
but no.
socket.setdefaulttimeout is useful, but not always effective.
I'm setting that to 15 seconds.
If the host end won't open the connection within 15 seconds,
urllib times out. But if the host end opens the connection,
On Mar 27, 4:50 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 27 Mar 2007 17:41:44 -0300, supercooper [EMAIL PROTECTED]
escribió:
On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED]
escribió:
I
I am downloading images using the script below. Sometimes it will go
for 10 mins, sometimes 2 hours before timing out with the following
error:
Traceback (most recent call last):
File ftp_20070326_Downloads_cooperc_FetchLibreMapProjectDRGs.py,
line 108, i
n ?
urllib.urlretrieve(fullurl,
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED]
escribió:
I am downloading images using the script below. Sometimes it will go
for 10 mins, sometimes 2 hours before timing out with the following
error:
urllib.urlretrieve(fullurl, localfile)
IOError: [Errno socket
On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED]
escribió:
I am downloading images using the script below. Sometimes it will go
for 10 mins, sometimes 2 hours before timing out with the following
error:
En Tue, 27 Mar 2007 17:41:44 -0300, supercooper [EMAIL PROTECTED]
escribió:
On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED]
escribió:
I am downloading images using the script below. Sometimes it will go
On Mar 27, 4:41 pm, supercooper [EMAIL PROTECTED] wrote:
On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED]
escribió:
I am downloading images using the script below. Sometimes it will go
for 10 mins,
12 matches
Mail list logo