(web server) punts keep-alive to impls; http server uses (ice-9 poll)
authorAndy Wingo <wingo@pobox.com>
Fri, 3 Dec 2010 14:31:57 +0000 (15:31 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 3 Dec 2010 14:31:57 +0000 (15:31 +0100)
commit462a1a04cf256a9f995721b5d210d7438b3fc89b
tree9410f7e243b271c7067e79e66eb63582bf7d004d
parent51c1dba88a62e3f1a1de3fc27a158a6d48bd379b
(web server) punts keep-alive to impls; http server uses (ice-9 poll)

* module/web/server.scm: Rewrite to remove the extra "keep-alive"
  parameter. Instead, since the server is an essentially stateful
  object, have clients that want to do keep-alive manage that set as
  part of the server state. Also avoids imposing a particular data
  structure on the server implementation.

* module/web/server/http.scm: Adapt to the new server interface. Also,
  use a poll set instead of select and lists. Makes handling 1000
  clients at a time much more possible.
module/web/server.scm
module/web/server/http.scm