Commit graph

450 commits

Author SHA1 Message Date
Steven Barth
5d9394a3d6 * libs/httpd: Use HTTP/1.0 for error messages 2008-06-25 16:50:55 +00:00
Steven Barth
215e225fe9 * libs/httpd: Automatically remove timed out threads 2008-06-25 16:48:48 +00:00
Steven Barth
7a4aa85dd6 * libs/httpd: Introduced keep-alive and pipelining support 2008-06-25 16:38:48 +00:00
Steven Barth
b85d292bcd * libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url 2008-06-25 14:58:18 +00:00
Steven Barth
1a9fe9cd77 libs/web: Fixed bug where the environment table gets returned in case of an undefined variable 2008-06-23 23:35:25 +00:00
Steven Barth
cd0eaf0005 * libs/web: Changed caching behaviour of template library 2008-06-23 23:03:38 +00:00
Steven Barth
623eb26486 * Added preliminary OpenWRT support for luci-httpd 2008-06-23 21:49:29 +00:00
Steven Barth
df8f524940 * libs/httpd: Tuned Garbage Collection 2008-06-23 21:30:44 +00:00
Steven Barth
1e413b9251 * libs/util: Fixed memory leaks in threadlocal implementations 2008-06-23 20:01:34 +00:00
Steven Barth
02cce96c83 * libs/httpd: Added performance ;-) 2008-06-23 19:41:35 +00:00
Jo-Philipp Wich
d5deb7a99a * luci/libs: fix syntax error in last commit 2008-06-23 19:21:54 +00:00
Jo-Philipp Wich
520b4060a7 * luci/libs: fix possible error when doing sub() on chunk in server.lua 2008-06-23 19:20:57 +00:00
Jo-Philipp Wich
a9a80a3be3 * luci/libs: fix eof handling for urldecode_message_body() in protocol.lua 2008-06-23 19:16:00 +00:00
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00
Jo-Philipp Wich
a038da390d * luci/libs: add support for chunked transfer decoding in http.protocol 2008-06-22 12:07:37 +00:00
Steven Barth
90aef16aea * libs/httpd: Prepared HTTPD dispatching model 2008-06-21 19:41:17 +00:00
Steven Barth
16dfa697e4 * Fixed call to push_response 2008-06-21 16:39:51 +00:00
Steven Barth
b28bf0f394 * Fixed last commit 2008-06-21 16:24:52 +00:00
Steven Barth
bfbd74c6ae * libs/httpd: Forward changed Handler API to use luci.http to push responses
* libs/httpd: Added Expect: 100-continue header support to server (merged from Jow)
2008-06-21 16:23:41 +00:00
Steven Barth
65870edf9f * libs/core: Added garbage collector to luci.util.threadlocal to avoid memory leaks
* libs/http: Use env-Variables instead of headers for parse_message_body and subsequent functions
* libs/http: Added missing urldecode call for parsing urlencoded params
* libs/web: Ported luci.http to use ltn12 sources and sinks instead of sockets or file pointers
* libs/sgi-cgi, libs/sgi-webuci, libs/sgi-wsapi: Updated to work with new luci.http.Request ABI
2008-06-20 19:57:57 +00:00
Steven Barth
e2e9e119d6 * Moved luci.http.protocol to libs/http
* Added ltn12 to libs/core
* Fixed libs/httpd Makefile
2008-06-20 16:47:25 +00:00
Jo-Philipp Wich
8349a0504e * luci/httpd: add initial server implementation 2008-06-19 03:02:49 +00:00
Jo-Philipp Wich
f712a1f2c2 * luci/libs: moved http.protocol from libs/web to libs/httpd, rewrote http.protocol to rely on LTN12 chains 2008-06-19 02:53:09 +00:00
Steven Barth
304ce583c7 * Use CRLF instead of LF in HTTP headers 2008-06-17 16:23:42 +00:00
Steven Barth
71beb64a22 * Preliminary module implementation for Luci HTTPD 2008-06-17 16:16:27 +00:00
Steven Barth
37ab75aea5 * Removed it 2008-06-16 19:53:48 +00:00
Steven Barth
dfe85d7e51 * Added preliminary HTTPD construct 2008-06-16 19:47:57 +00:00
Jo-Philipp Wich
77da39e776 * luci/libs: http.protocol: prevent oversized read blocks when reading from socket or file handle 2008-06-15 21:43:32 +00:00
Jo-Philipp Wich
15fbb8799e * luci/libs: http.protocol: switch to blockwise reading in urlencoded post requests, renamed readbuf constant 2008-06-15 21:39:16 +00:00
Steven Barth
89f1f43c9d * Fixed SGI webuci to work with new HTTP API 2008-06-15 21:11:34 +00:00
Steven Barth
8d2f6c7041 * Fix sgi-cgi postinst 2008-06-15 20:10:20 +00:00
Jo-Philipp Wich
72aa111b22 * luci/libs: improved linereader implementation 2008-06-15 20:08:29 +00:00
Steven Barth
6fa9ec035b * Removed support for Haserl 2008-06-15 18:54:44 +00:00
Steven Barth
d5d8e8c867 * Fixed last commit 2008-06-15 18:02:47 +00:00
Steven Barth
eac91268f1 * Finished support for SGI CGI 2008-06-15 18:02:09 +00:00
Steven Barth
eae0e44798 * Added support for CGI SGI 2008-06-15 17:45:10 +00:00
Steven Barth
3455ee6d8d * Added support for htdocs module directory 2008-06-15 16:02:47 +00:00
Jo-Philipp Wich
647bc44868 * luci/libs: http.protocol: split parse_message() in parse_message_header() and parse_message_body() 2008-06-15 13:23:08 +00:00
Jo-Philipp Wich
a80f704e37 * luci/libs: drop depency to luci.bits use tonumber() for hex decoding 2008-06-15 12:57:02 +00:00
Steven Barth
961bfcf77f * Generalized HTTP-API 2008-06-15 12:34:16 +00:00
Jo-Philipp Wich
8b0524cd91 * luci/libs: protocol.lua: store status code and status description in http message object 2008-06-15 04:11:03 +00:00
Jo-Philipp Wich
6d3ac58b42 * luci/libs: fix get parameter handling in http.protocol 2008-06-15 04:01:38 +00:00
Jo-Philipp Wich
6571e9ba6f * luci/libs: added initial HTTP protocol implementation 2008-06-15 03:49:43 +00:00
Steven Barth
1d7935cae0 * Added preliminary support for WSAPI SGI 2008-06-14 19:30:30 +00:00
Jo-Philipp Wich
16924c1d83 * luci/statistics: some german translation fixes 2008-06-14 15:39:53 +00:00
Jo-Philipp Wich
b2b31aa605 * luci/addons: minor fix in luci-fixtime init script 2008-06-14 15:24:44 +00:00
Jo-Philipp Wich
971ffe47da * luci/libs: move time fix to luci-addons 2008-06-14 15:14:15 +00:00
Steven Barth
cb53f314f4 * Minor cleanups 2008-06-14 14:55:49 +00:00
Jo-Philipp Wich
3eabbcc191 * luci/themes: fix query string functionality 2008-06-14 14:31:37 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00