Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-06 | signal: suppress libev strict-aliasing warningssignal | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | |||
2013-11-06 | signal: add support for looking up signals by number | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk> | |||
2013-11-06 | signal: add test | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk> | |||
2013-11-06 | signal: handle sigchild separately | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk> | |||
2013-11-06 | signal: add signal lookup | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk> | |||
2013-11-06 | signal: initial signal handling | Asbjørn Sloth Tønnesen | |
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk> | |||
2013-11-05 | use CFLAGS, CPPFLAGS and LDFLAGS properly | Emil Renner Berthing | |
2013-08-27 | add built-time assertions | Emil Renner Berthing | |
2013-08-27 | parsers: give parsers a set amount of space for state | Emil Renner Berthing | |
..and don't try to cram all parser states into the same struct. | |||
2013-08-27 | http.server: fix 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 | |