Re: Bug #15296: ftp_getresp()'s bug when ftp server returns multiple response code
| From: | Markus Fischer | Date: | Wed, 30 Jan 2002 10:20:15 +0000 |
| Subject: | Re: Bug #15296: ftp_getresp()'s bug when ftp server returns multiple response code | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78532@lists.php.net to get a copy of this message | ||
On Wed, Jan 30, 2002 at 09:59:33AM -0000, yiwakiri@st.rim.or.jp wrote :
> From: yiwakiri@st.rim.or.jp
> Operating system: Maybe All platform
> PHP version: 4.1.1
> PHP Bug Type: FTP related
> Bug description: ftp_getresp()'s bug when ftp server returns multiple response code
>
> Hello.
>
> When ftp-server returns multiple response code, ftp_nlist() and
> ftp_rawlist() is hung.
>
> First response code is set normaly.
> but second response code isn't set and ftp_get_resp() triing call
> ftp_readline() until ftp-timeout.
>
> I change ftp_getresp in ftp.c
This sounds like a good idea. Can you please post a unified
diff against latest CVS to php-dev@ ?
- Markus
--
Please always Cc to me when replying to me on the lists.