[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile web server example serving static files
From: |
Dr. Arne Babenhauserheide |
Subject: |
Re: Guile web server example serving static files |
Date: |
Fri, 18 Sep 2020 09:47:26 +0200 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Hi Zelphir,
I see that you’re getting the full file as bytevector
Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:
> https://notabug.org/ZelphirKaltstahl/guile-examples/src/65ba7cead2983f1ceb8aa2d4eedfe37734e5ca56/web-development/example-03-serve-static-assets
I see that you’re getting the full file as bytevector in response-utils.
When I tested this in wispserve with multi-gigabyte files, I got
gc-errors.
I do string-conversion, though, because I got into problems with just
putting a bytevector — does avoiding that avoid the problem?
https://hg.sr.ht/~arnebab/wispserve/browse/wispserve/serve.w?rev=4541f36df0b0#L411
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
signature.asc
Description: PGP signature
Re: Guile web server example serving static files,
Dr. Arne Babenhauserheide <=