fukamachi / woo

A fast non-blocking HTTP server on top of libev
http://ultra.wikia.com/wiki/Woo_(kaiju)
MIT License
1.27k stars 96 forks source link

Don't mutate a string literal #106

Closed Uthar closed 10 months ago

Uthar commented 10 months ago

Mutating functions in current-rfc-1123-timestamp are used to modify the *date-header* variable, which was a string literal.

This was causing an SB-SYS:MEMORY-FAULT-ERROR: Attempt to modify a read-only object when running from an executable dumped with sb-ext:save-lisp-and-die :executable :t

I don't know how to add a test for this...

See https://github.com/NixOS/nixpkgs/issues/252016

fukamachi commented 10 months ago

Thanks!