Drop the set locale trick in last commit. Because we shouldn't try any
authorNalaGinrut <NalaGinrut@gmail.com>
Sat, 24 Mar 2012 10:57:46 +0000 (18:57 +0800)
committerNalaGinrut <NalaGinrut@gmail.com>
Sat, 24 Mar 2012 10:57:46 +0000 (18:57 +0800)
commit9e87fd9e7bb342e4ec9caf1a2ffaef6f37668791
tree798563b5d29e38e17565dc4576fd78332f5688f5
parentcd9fd00a38fc453ea887c12ab7fcd23e217c1b26
Drop the set locale trick in last commit. Because we shouldn't try any
time string related to locale in protocol implementation.
And we shouldn't use with-locale in multi-threads context, because the
mutex will cause threads run slowly.
The new solution is suggested by Mark Weaver who is an experenced Guile
developper. So I used write-date in (web http) which is based on srfi-19
to handle this issue.
Anyway, I'll write my own write-date implementation because I want this
ragnarok self-contained.
ragnarok/main.scm
ragnarok/protocol/http/http.scm
ragnarok/server.scm
ragnarok/utils.scm