ashd.git
15 years agoRewrote htparser to handle both HTTP/1.0 and HTTP/1.1.
Fredrik Tolf [Wed, 7 Jan 2009 05:02:47 +0000 (06:02 +0100)]
Rewrote htparser to handle both HTTP/1.0 and HTTP/1.1.

15 years agoUsed glibc to provide mt-blocking stdio for fds.
Fredrik Tolf [Tue, 6 Jan 2009 13:11:32 +0000 (14:11 +0100)]
Used glibc to provide mt-blocking stdio for fds.

15 years agoAdded a simple patplex.
Fredrik Tolf [Thu, 1 Jan 2009 04:05:01 +0000 (05:05 +0100)]
Added a simple patplex.

15 years agoFixed a bug in the MT ioloop.
Fredrik Tolf [Thu, 1 Jan 2009 04:03:37 +0000 (05:03 +0100)]
Fixed a bug in the MT ioloop.

15 years agoMake htparser exit when the root multiplexer exits.
Fredrik Tolf [Thu, 1 Jan 2009 03:50:08 +0000 (04:50 +0100)]
Make htparser exit when the root multiplexer exits.

15 years agoModified callcgi to run CGI programs without an explicit handler.
Fredrik Tolf [Wed, 31 Dec 2008 10:33:53 +0000 (11:33 +0100)]
Modified callcgi to run CGI programs without an explicit handler.

15 years agoCheck the output from passdata in htparser.
Fredrik Tolf [Wed, 31 Dec 2008 10:22:13 +0000 (11:22 +0100)]
Check the output from passdata in htparser.

15 years agoAdded a simple CGI endcap.
Fredrik Tolf [Wed, 31 Dec 2008 10:21:58 +0000 (11:21 +0100)]
Added a simple CGI endcap.

15 years agoAdded some caching capabilities to sendfile.
Fredrik Tolf [Tue, 23 Dec 2008 00:35:19 +0000 (01:35 +0100)]
Added some caching capabilities to sendfile.

15 years agoAdded a really basic sendfile implementation.
Fredrik Tolf [Mon, 22 Dec 2008 04:04:59 +0000 (05:04 +0100)]
Added a really basic sendfile implementation.

15 years agoFixed a couple of bugs in dirplex.
Fredrik Tolf [Mon, 22 Dec 2008 04:03:28 +0000 (05:03 +0100)]
Fixed a couple of bugs in dirplex.

15 years agoSend error reports from dirplex.
Fredrik Tolf [Sun, 21 Dec 2008 19:53:50 +0000 (20:53 +0100)]
Send error reports from dirplex.

15 years agoReorganized dirplex quite a bit.
Fredrik Tolf [Sun, 21 Dec 2008 19:21:05 +0000 (20:21 +0100)]
Reorganized dirplex quite a bit.

15 years agoChanged dirplex to pass the filename as an optional header and preserve the semantics...
Fredrik Tolf [Fri, 19 Dec 2008 15:11:32 +0000 (16:11 +0100)]
Changed dirplex to pass the filename as an optional header and preserve the semantics of the rest string.

15 years agoAdded a first version of the directory multiplexer.
Fredrik Tolf [Thu, 18 Dec 2008 05:14:16 +0000 (06:14 +0100)]
Added a first version of the directory multiplexer.

15 years agoCreate the passed socket explicitly in htparser rather than generally in sendreq().
Fredrik Tolf [Thu, 18 Dec 2008 04:17:44 +0000 (05:17 +0100)]
Create the passed socket explicitly in htparser rather than generally in sendreq().

15 years agoMake sure to wait for the rootplex to accept writes from htparser.
Fredrik Tolf [Wed, 17 Dec 2008 23:36:01 +0000 (00:36 +0100)]
Make sure to wait for the rootplex to accept writes from htparser.

15 years agoAdded a `calen' utility function.
Fredrik Tolf [Wed, 17 Dec 2008 21:47:17 +0000 (22:47 +0100)]
Added a `calen' utility function.

15 years agoMoved htparser's ioloop to the library.
Fredrik Tolf [Wed, 17 Dec 2008 05:42:26 +0000 (06:42 +0100)]
Moved htparser's ioloop to the library.

15 years agoAdded a tokenizer util function.
Fredrik Tolf [Wed, 17 Dec 2008 05:36:36 +0000 (06:36 +0100)]
Added a tokenizer util function.

15 years agoFixed another htparser bug.
Fredrik Tolf [Wed, 17 Dec 2008 03:27:28 +0000 (04:27 +0100)]
Fixed another htparser bug.

15 years agoMake htparser strip the param string from the rest string.
Fredrik Tolf [Wed, 17 Dec 2008 03:08:47 +0000 (04:08 +0100)]
Make htparser strip the param string from the rest string.

15 years agoFixed a couple of htparser bugs.
Fredrik Tolf [Wed, 17 Dec 2008 02:54:11 +0000 (03:54 +0100)]
Fixed a couple of htparser bugs.

15 years agoStrip the leading slash of the rest string.
Fredrik Tolf [Wed, 17 Dec 2008 02:34:00 +0000 (03:34 +0100)]
Strip the leading slash of the rest string.

15 years agoSend request data to multiplexer.
Fredrik Tolf [Wed, 17 Dec 2008 02:29:09 +0000 (03:29 +0100)]
Send request data to multiplexer.

15 years agoAdded a `debugsink' test program.
Fredrik Tolf [Wed, 17 Dec 2008 02:18:09 +0000 (03:18 +0100)]
Added a `debugsink' test program.

15 years agoMade htparser capable of handling basic requests.
Fredrik Tolf [Wed, 17 Dec 2008 02:17:55 +0000 (03:17 +0100)]
Made htparser capable of handling basic requests.

15 years agoUse SOCK_SEQPACKET between processes to ensure EOF receipt. Probably only works on...
Fredrik Tolf [Wed, 17 Dec 2008 02:16:43 +0000 (03:16 +0100)]
Use SOCK_SEQPACKET between processes to ensure EOF receipt. Probably only works on Linux, however.

15 years agoAdded max and min macros.
Fredrik Tolf [Wed, 17 Dec 2008 02:05:58 +0000 (03:05 +0100)]
Added max and min macros.

15 years agoAdded atoo function.
Fredrik Tolf [Wed, 17 Dec 2008 01:38:51 +0000 (02:38 +0100)]
Added atoo function.

15 years agoFixed socktype bug in sendreq.
Fredrik Tolf [Wed, 17 Dec 2008 01:38:45 +0000 (02:38 +0100)]
Fixed socktype bug in sendreq.

15 years agoAdded some string utility functions.
Fredrik Tolf [Tue, 16 Dec 2008 19:29:35 +0000 (20:29 +0100)]
Added some string utility functions.

15 years agoRenamed htreq to hthead and added functions for transfer of requests.
Fredrik Tolf [Tue, 16 Dec 2008 19:28:46 +0000 (20:28 +0100)]
Renamed htreq to hthead and added functions for transfer of requests.

15 years agoAdded some process control functions to libht.
Fredrik Tolf [Tue, 16 Dec 2008 15:41:29 +0000 (16:41 +0100)]
Added some process control functions to libht.

15 years agoFixed header reading and a request parser memory leak.
Fredrik Tolf [Tue, 16 Dec 2008 04:45:23 +0000 (05:45 +0100)]
Fixed header reading and a request parser memory leak.

15 years agoAdded basic support for parsing requests.
Fredrik Tolf [Thu, 27 Nov 2008 05:41:19 +0000 (06:41 +0100)]
Added basic support for parsing requests.

15 years agoAdded a request library component.
Fredrik Tolf [Thu, 27 Nov 2008 05:41:11 +0000 (06:41 +0100)]
Added a request library component.

15 years agoBasic muthread I/O loop implemented in htparser.
Fredrik Tolf [Thu, 27 Nov 2008 04:15:43 +0000 (05:15 +0100)]
Basic muthread I/O loop implemented in htparser.

15 years agoAdded muthread and logging library components.
Fredrik Tolf [Thu, 27 Nov 2008 03:38:43 +0000 (04:38 +0100)]
Added muthread and logging library components.

15 years agoInitial skeleton.
Fredrik Tolf [Wed, 26 Nov 2008 23:09:24 +0000 (00:09 +0100)]
Initial skeleton.

17 years agoAutoconf skeleton
Fredrik Tolf [Tue, 28 Aug 2007 01:34:15 +0000 (03:34 +0200)]
Autoconf skeleton