curl-users
why sometimes I get Error code 52 with the same script?
From: Juan <juan_at_oztell.com>
Date: Tue, 02 Apr 2002 10:30:42 +1000
Date: Tue, 02 Apr 2002 10:30:42 +1000
Hi, all!
I tried this from the curl command line:
curl -v http://myXXX.php
while in myXXX.php file, it interacts with an IMAP mail server and do
some email filters.
With myXXX.php unchanged, I executed curl. Sometimes it works but
sometimes it returns an error message like "curl: (52) Empty reply from
server" and the myXXX.php is not executed.
However if I executed http://myXXX.php from a web browser, it always
works. I don't know why? Is it because web browsers always work slower
the curl? Is it myXXX.php takes longer time to run and the curl process
returns before it finishes? Is there any solution to this?
Thanks a lot for any help from you.
Received on 2002-04-02