summaryrefslogtreecommitdiff
path: root/fibers/web (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Take advantage of accept4 interface.Andy Wingo2017-02-151-2/+2
| | | | | * fibers/web/server.scm (client-loop): Setvbuf here. (socket-loop): Use new accept4 interface.
* Tweak fibers web socket optionsAndy Wingo2017-02-151-7/+4
| | | | | | | * fibers/web/server.scm (client-loop): Move NODELAY things here and actually enable NODELAY (before we were... disabling it???). (socket-loop): Remove SNDBUF munging; let's assume it doesn't matter rather than the reverse.
* Minor tweak to web serverAndy Wingo2017-02-141-2/+3
| | | | | * fibers/web/server.scm (socket-loop): Move set-nonblocking! call to client where it parallelizes better.
* Gracefully handle EPIPEAndy Wingo2017-02-121-3/+4
| | | | | | * fibers/web/server.scm (client-loop): Avoid error when reading from shut-down socket (EPIPE). Perhaps a read that gives EPIPE should produce an EOF object anyway.
* Add concurrent web serverAndy Wingo2017-02-111-0/+282
* fibers.texi (Concurrent Web Server): New section. * fibers/web/server.scm: Add web server that can run handlers concurrently. * examples/concurrent-web-hello.scm: New file. * Makefile.am (SOURCES): Add (fibers web server).