Commit graph

480 commits

Author SHA1 Message Date
Felix Fietkau
8bb36f506f fix dynamic plugin dlopen() linker issues 2008-06-28 23:20:24 +00:00
Felix Fietkau
fb131176c2 don't copy .o files when copying the local source tree 2008-06-28 23:20:14 +00:00
Jo-Philipp Wich
b84259d374 * libs/http: added support for directory listings 2008-06-28 23:18:10 +00:00
Felix Fietkau
d7476bd131 fix some build flags, add support for transparently copying files from a luci checkout's top level directory if the package subdirectory is symlinked 2008-06-28 22:22:10 +00:00
Steven Barth
87e30fa12c * lib/sgi-cgi, lib/sgi-webuci: Enforce HTTP standards 2008-06-28 22:17:24 +00:00
Steven Barth
c7b5b23f87 * lib/core: Fixed wrong argument order for luci.user.checkpasswd 2008-06-28 21:18:28 +00:00
Felix Fietkau
ffd74bcc09 use ldflags in sgi-webuci linking 2008-06-28 21:01:15 +00:00
Steven Barth
8ca3b888ad * libs/httpd: Fixed a problem with empty sources in filehandler 2008-06-28 17:03:47 +00:00
Steven Barth
3fc7d3f5de * Fixed last commit 2008-06-28 16:25:25 +00:00
Steven Barth
699784791c * libs/httpd: Added Cache-Control header to LuCI
* libs/httpd: Added Server-Header
2008-06-28 16:23:58 +00:00
Jo-Philipp Wich
cd4353e65f * libs/http: add Date header for 304 responses 2008-06-28 16:17:45 +00:00
Jo-Philipp Wich
e08b97565f * libs/http: fix header handling in conditionals.lua
* libs/httpd:	add support for RFC2616 / 14.24 - 14.28 in file handler, add Date and Expires headers to luci handler
2008-06-28 16:12:37 +00:00
Steven Barth
00aceaf624 * libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
2008-06-28 16:03:54 +00:00
Jo-Philipp Wich
7f56bf9475 * libs/http: prepare support for RFC2616 / 14.24 - 14.28 2008-06-28 02:05:48 +00:00
Jo-Philipp Wich
3eefe8a8e2 * libs/http: removed caching in http.protocol.date 2008-06-27 20:48:11 +00:00
Steven Barth
289b8fc1b6 * libs/web: Prepare session authentication 2008-06-27 20:29:05 +00:00
Steven Barth
78110807c2 * Updated thankyou documents 2008-06-27 19:26:55 +00:00
Jo-Philipp Wich
96e11423b3 * libs/http: implement caching in http.protocol.date 2008-06-26 20:25:02 +00:00
Steven Barth
378ef2da56 * libs/httpd: Removed a debug function 2008-06-26 19:42:38 +00:00
Steven Barth
dc583e0d3f * libs/httpd: Rewrote daemon controller to increase performance 2008-06-26 19:41:37 +00:00
Jo-Philipp Wich
3346f8fccd * libs/httpd: added ETag, Date, Content-Type and Last-Modified header support to file handler 2008-06-26 18:49:18 +00:00
Jo-Philipp Wich
6ce3d85076 * libs/http: removed debugging prints from http.protocol.date 2008-06-26 18:42:28 +00:00
Jo-Philipp Wich
5c5bbf9c50 * libs/http: require luci.util in http.protocol.mime 2008-06-26 18:32:29 +00:00
Jo-Philipp Wich
98b954a48f * libs/http: added http mime helper lib 2008-06-26 18:31:25 +00:00
Jo-Philipp Wich
85ec6b0a75 * libs/http: added http date helper lib 2008-06-26 18:08:48 +00:00
Jo-Philipp Wich
b8faf24d5c * luci/httpd: fix 500 error case in luci handler, added copyright stuff 2008-06-25 21:19:10 +00:00
Steven Barth
231cd0b89d * libs/httpd: Optimized performance again 2008-06-25 18:44:25 +00:00
Steven Barth
7d0b17c7d3 * libs/httpd: Fixed typos 2008-06-25 18:33:38 +00:00
Steven Barth
e0e4983130 * libs/httpd: Optimized performance 2008-06-25 18:09:53 +00:00
Steven Barth
741bbe7817 * libs/httpd: cleanup 2008-06-25 17:13:59 +00:00
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