diff options
author | Andy Wingo | 2010-11-13 19:26:47 +0100 |
---|---|---|
committer | Andy Wingo | 2010-11-13 19:26:47 +0100 |
commit | befda5cb0285d36403d405092f826e5afcff80d2 (patch) | |
tree | e62b627cf0dbc093d26d63f444545e9f12f8fe5f /src | |
parent | 1152ccf68ad2cc6605191005b314514de2bf92c5 (diff) | |
download | tekuti-befda5cb0285d36403d405092f826e5afcff80d2.tar.gz tekuti-befda5cb0285d36403d405092f826e5afcff80d2.zip |
big change to use new (web server) infrastructure
Change to use (web server) instead of our own loop. This also means that
requests are request objects from (web request), and responses are from
(web response).
* tekuti/boot.scm (boot): Run the main loop from (tekuti web).
* tekuti/config.scm (*port*, *backlog*, *public-url-base*)
(*private-url-base*): Remove extraneous config vars.
* tekuti/mod-lisp.scm: Rewrite to be a (web server) server-impl. Not
tested very well.
* tekuti/page-helpers.scm (respond): New procedure, now the primary way
to respond to a request.
(relurl, rellink): Take path components as a list, and encode the
parts when making the resulting URL. All callers changed.
* tekuti/page.scm: Change all handlers to take an additional `body'
argument, to respond using `respond', and to use the new `relurl' /
`rellink' protocol.
* tekuti/request.scm: Eviscerate, leaving only pieces that deal in
request objects from `(web request)'.
* tekuti/web.scm: Update to use (weeb server).
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions