[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slow urlwrite
From: |
John W. Eaton |
Subject: |
Re: slow urlwrite |
Date: |
Thu, 11 Oct 2007 15:37:48 -0400 |
On 11-Oct-2007, John W. Eaton wrote:
| On 11-Oct-2007, GAIL wrote:
|
| | I missed that one, sorry. But it's not limited to the octave site and
happens at other sites as well.
|
| Yes, I understand that, so it would be helpful if anyone has a
| clue about how to avoid this problem with libcurl.
OK, I guess I should have tried this earlier...
I enabled verbose output from curl and found that it was hanging while
trying to enable EPSV mode before it moved on the PASV. Adding
curl_easy_setopt (curl, CURLOPT_FTP_USE_EPSV, false);
calling curl_easy_perform in the urlget function in
src/DLD-FUNCTIONS/urlwrite.cc fixes the problem.
Thanks,
jwe