[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.0.5-35-g804f1f0 |
Date: |
Tue, 07 Feb 2012 21:19:59 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=804f1f00d750976f0616038f5b55e7da2f8110f3
The branch, wip-threaded-http-server has been created
at 804f1f00d750976f0616038f5b55e7da2f8110f3 (commit)
- Log -----------------------------------------------------------------
commit 804f1f00d750976f0616038f5b55e7da2f8110f3
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 22:12:26 2012 +0100
http web server: allow concurrent write operations
* module/web/server/http.scm (<http-server>, http-open)
(read-request!, write-request!, enqueue-write!, http-write): As in the
previous commit, add support for concurrent writes.
(http-read): Pop off keepalive ports in this, the main loop.
(http-close): Shut down writers appropriately.
commit ec146171b82a0abd34f1daa111d9def19c75cf67
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 21:41:36 2012 +0100
http web server: allow concurrent read operations
* module/web/server/http.scm (<http-server>): Add fields for a reader
thread-pool, and some async queues that it operates on. Also, a flag,
http-threaded?.
(http-open): Add #:threaded? and #:read-workers kwargs. Create a
thread pool for reading if threads are available.
(read-request!): New function, factored out of http-read.
(enqueue-read!, http-read): Instead of reading the client directly,
enqueue a read. In the case where threads are not available, this
will call read-request! directly. read-request! takes care of adding
to the handle-queue. The read polling loop will pop items off the
handle-queue.
(seconds-from-now, async-queue-for-each): New helpers.
(http-write): Shut down the queues and threads, hopefully in a
nonblocking fashion.
commit 50bf3a14b19088249ff980d0980e72613bd992bb
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 21:21:09 2012 +0100
better exception printing in the web server
* module/web/server.scm (read-client, handle-request)
(write-client): Better exception printing.
commit de0164f021cf1f8f8322009c7d4f5e6f06fa3dab
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 14:44:44 2012 +0100
add ability to wake up the poll() in http.scm
* module/web/server/http.scm (make-waker, flush-wake-port): New
functions, to wake up a poll().
(http-open): Add a wakeup port to the poll set.
(http-read): Handle the wakeup port specially.
commit 1832e4c1ef5565b2bebb44cc3fdf7872c22cdf34
Author: Andy Wingo <address@hidden>
Date: Mon Feb 6 20:12:29 2012 +0100
add ice-9 thread-pool
* module/ice-9/thread-pool.scm: New file.
* module/Makefile.am: Add to build.
commit c8e7643c916450a25fa74ce839d62c59c12936a3
Author: Andy Wingo <address@hidden>
Date: Mon Feb 6 18:01:17 2012 +0100
add (ice-9 async-queue)
* module/ice-9/async-queue.scm: New file.
* module/Makefile.am: Add it to the make file.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.0.5-35-g804f1f0,
Andy Wingo <=