Re: Update on the lexer-no-stdio patch
| From: | Sascha Schumann | Date: | Tue, 06 May 2003 11:28:00 +0000 |
| Subject: | Re: Update on the lexer-no-stdio patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1299@lists.php.net to get a copy of this message | ||
On Tue, 6 May 2003, Edin Kadribasic wrote:
> On Tue, 6 May 2003, Sascha Schumann wrote:
>
> > Has including URLs worked on Win32 ever before then? It was
> > doing fdopen(socket(..)) basically.
>
> Inlcuding URLs has worked on win32 since 4.3.0.
Yes, with a hack -- it writes out the socket content to a
temporary file.
I think we can simplify the code by adding a HANDLE_SOCKET_FD
type to the lexer, so that the lexer simply calls recv when
appropiate. That is a lot better from my POV than messing
with temporary files.
- Sascha