Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: ANN: Serve-It! (PRE-release)

From: D:Weyand:GMX at: 10-Mar-2004 13:40

Hi Maarten,
> First of all, nice to see somebody building a webserver on top of hipe, > my Rugby I/O engine. I always thought it would be possible ;-)
I didn=B4t know that you are the author of hipe. I=B4ve found an old article on rebolforces, where "building a server engine" is described. And I used that info to write the core SSE of Serve-It!. I am sorry for using your work without honoring it accordingly.
> Second, in the code you use "async" handlers, but they are in fact > non-blocking handlers. Async is more on the tcp level, where you also > get the kind of event (connect, close, read, write,resolve). See > Gabriele's excellent work on this.
I know, "async" is not the right name for this handler. My "async"-handler processes all the requests that are initiated by the proxy-handler upon a client request and prevents the proxy-handler to block the hole request-queue. (Until now I didn=B4t found the time to have a look at Gabriele=B4s async-protocol, but thanx for the hint.)
> All in all it is very nice work! Now if you can add CGI-like support (if > only for Reblets) like in webserv.r on the library and relax > the license so we can use it as an embedded webserver.... I haven't had > time to test tthe proxy stuff (yet). But, again, very nice work.
To add CGI-like support for Reblets is on the to-do list, but due to lack of time it`s not implemented yet. I would also like to add CGI-support in general, but I am not able to purchase a View/Pro license for AmigaOS from RT=B4s Website to test the shell(CGI) access accordingly.
> One question: how do you handle very large files (say 600 Mb)? Buffered > or read them in memory all at once?
As you=B4ve mentioned, atm large files are buffered in memory all at once.. So, if you want to host large files you have to use a server with at least the same amount of memory. I=B4ll think this will change in one of the next releases of Serve-It!, and the I/O will be fragmented to 32KB in size for the web-server part too. One question for the list: Does anybody know whether it=B4s possible to change or hide the "R"-logo if you are "online" with a View/application? -- +++ NEU bei GMX und erstmalig in Deutschland: T=DCV-gepr=FCfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: