Re: Euphoria Web Server

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Eberlein writes:

> webserver.exu:152 in procedure GET_Request()
> file name for open() is too long
> ...
> So Rob, what *is* the maximum length filename that
> open can handle?

The limit is 255 characters.
That was carried over from WIN32+DOS32.
Perhaps it should be set higher on Linux.

> And why does it dump ex.err instead
> of simply returning -1?

I guess it would be better to return -1 in this (rare)
situation. Then you could naturally treat it as a failure to
open the file, which makes sense. I'll make the change
for the next release.

By the way, your Web server worked fine for me.
I look forward to receiving your code for the
Recent User Contributions page.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu