Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-27 | lem.http.server: fix typofix-typo | Asbjørn Sloth Tønnesen | |
Introduced in: > commit e7f888ccadce6ec68a6da783282bb342785d763d > Author: Emil Renner Berthing <esmil@mailme.dk> > Date: Mon Aug 19 01:10:11 2013 +0200 > > http: factor out response module Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.dk> | |||
2013-08-26 | pool: better API | Emil Renner Berthing | |
The thread pool doesn't actually need the Lua thread, so let the callers handle that. Also if we don't care about the return allow the reaper function to be NULL and automatically free the lem_async struct when the worker is done. | |||
2013-08-22 | hathaway: htest: fix single instance API usage | Asbjørn Sloth Tønnesen | |
When using the single instance API hathaway.debug MUST be overwritten before calling import in order to have any effect. Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | |||
2013-08-22 | hathaway: support multiple instances | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | |||
2013-08-21 | hathaway: remove unnecessary scope indentation | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | |||
2013-08-21 | http: move Request and Response objects out | Emil Renner Berthing | |
..to http.server and http.client modules respectively, and don't tie them to the parser. | |||
2013-08-21 | http.server: remove useless do .. end block | Emil Renner Berthing | |
2013-08-21 | http: factor out response module | Emil Renner Berthing | |
2013-08-21 | io: add io.fromfd() | Emil Renner Berthing | |
2013-08-19 | io: don't open files with O_NONBLOCK | Emil Renner Berthing | |
2013-08-16 | Makefile.in: fix dependencies | Emil Renner Berthing | |
2013-08-03 | io: fix file:close() and file:__gc() blocking | Emil Renner Berthing | |
2013-06-08 | set EV_SIGNAL_ENABLE and EV_CHILD_ENABLE | Emil Renner Berthing | |
to prepare for upcoming signal library and reap child processes even when EV_CHILD_ENABLE is not set | |||
2013-06-08 | http.client: added | Emil Renner Berthing | |
2013-06-08 | io: return stream, pid from io.popen() | Emil Renner Berthing | |
2013-06-08 | io: fix memory leak on error in io.popen() | Emil Renner Berthing | |
2013-06-08 | lem: use reguler ints for queue indexes | Emil Renner Berthing | |
2013-06-08 | queue: add blocking multiple producer/consumer queue | Emil Renner Berthing | |
2013-06-08 | fix compilation with EV_MULTIPLICITY set | Emil Renner Berthing | |
2013-02-06 | parsers: fix stack overflow | Emil Renner Berthing | |
2013-02-06 | io: fix empty string skipping code | Emil Renner Berthing | |
2013-02-01 | io: skip empty strings in write methods | Emil Renner Berthing | |
2013-02-01 | README: refer to the example | Emil Renner Berthing | |
2013-02-01 | README: add chat server example | Emil Renner Berthing | |
2013-01-31 | io: flush file input buffer on seek | Emil Renner Berthing | |
2013-01-30 | http.server: smarter res:add() | Emil Renner Berthing | |
2013-01-30 | io: add io.streamfile() | Emil Renner Berthing | |
2013-01-30 | io: rework io.popen to use posix_spawn() | Emil Renner Berthing | |
..and accept 'rw' flag to make reading _and_ writing to the process' stdin and stdout possible. | |||
2013-01-29 | io: handle standard streams better | Emil Renner Berthing | |
Bash gets confused by non-blocking stdin, so set standard streams to non-blocking on __gc. FreeBSD errors when trying to set stdout non-blocking when it is redirected to /dev/null. So just silently ignore such errors. | |||
2013-01-29 | io: implement io.lines() and lines() methods | Emil Renner Berthing | |
2013-01-29 | io: fix filedescriptor leak on FreeBSD/OSX | Emil Renner Berthing | |
2013-01-28 | io: don't try to emulate TCP_CORK with TCP_NOPUSH | Emil Renner Berthing | |
OSX and some versions FreeBSD doesn't send data immediately after unsetting TCP_NOPUSH. On OSX if you set TCP_NOPUSH, write data and then unset TCP_NOPUSH you'll get a 2 second delay before the last data is sent. Unfortunately I've found no reliable work-around. | |||
2013-01-27 | http.server: add close() method | Emil Renner Berthing | |
2013-01-27 | io: set FD_CLOEXEC on all new filedescriptors | Emil Renner Berthing | |
2013-01-27 | io: add stream:getpeer() | Emil Renner Berthing | |
2013-01-27 | io: ignore protocol errors on accept | Emil Renner Berthing | |
2013-01-27 | io: try syscalls again on EINTR | Emil Renner Berthing | |
2013-01-27 | io: make accept() close fd after watch is stopped | Emil Renner Berthing | |
2013-01-26 | io: server cleanup | Emil Renner Berthing | |
2013-01-26 | io: don't do reverse dns lookup on connect/listen | Emil Renner Berthing | |
This basically reverts commit 62c631fd7d5d5c66694af9266688851ac442508a | |||
2013-01-26 | repl: add missing line separator | Emil Renner Berthing | |
2013-01-26 | http: fix req:body() with Expect: 100-continue | Emil Renner Berthing | |
2013-01-24 | http: allow whitespace after HTTP and / | Emil Renner Berthing | |
This allows for requests like GET /index.html HTTP / 1.1 but still doesn't allow GET /index.html HTTP / 1 . 1 which is actually valid HTTP. However this change is basically free. | |||
2013-01-24 | http: header names are case-insensitive | Emil Renner Berthing | |
..so make the parser lower-case header names | |||
2013-01-22 | io: add optional 3rd permission arg to io.open() | Emil Renner Berthing | |
2013-01-22 | PKGBUILD: update license | Emil Renner Berthing | |
..and add dependencies for linking against different Lua engines. | |||
2013-01-21 | io: add mode argument to io.unix.listen() | Emil Renner Berthing | |
2013-01-21 | http.server: add more HTTP status codes | Halfdan Mouritzen | |
2013-01-20 | io: don't close stdin, stdout and stderr on __gc() | Emil Renner Berthing | |
2013-01-20 | io: always create stdin, stderr and stdout | Emil Renner Berthing | |