Commit graph

55 commits

Author SHA1 Message Date
Steven Barth
4a15c6ffba Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera) 2008-11-03 09:44:38 +00:00
Steven Barth
f3ca7840d6 Remove overload protection from SDK httpd 2008-11-01 10:53:29 +00:00
Jo-Philipp Wich
e69dcf68a2 * luci/libs/httpd: fix spurious Overload errors in luci-httpd 2008-10-15 20:04:46 +00:00
Steven Barth
95f9bb97ba Fixed occasionally occuring "Overload"-problems with luci-httpd 2008-09-02 15:03:18 +00:00
Steven Barth
af18067e75 Fix some synchronization issues 2008-08-27 17:45:58 +00:00
Steven Barth
d463d0b835 Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
f9fa6d82da * libs/web: Reworked authentication 2008-08-10 12:58:05 +00:00
Steven Barth
22451345d8 Made SGIs even more standards compliant (respect EOF command from LuCI) 2008-07-23 18:52:12 +00:00
Steven Barth
59bef00fc3 Fix sgi-wsapi and sgi-luci to be standards compliant 2008-07-23 18:31:47 +00:00
Jo-Philipp Wich
8fcbdb39fe * luci/libs: make treatment of "+" conditional in http.protocol ("+" should not be decoded by urldecode)
* luci/https:	fix breakage introduced by "+" decoding
2008-07-05 20:12:24 +00:00
Steven Barth
280872baa7 * libs/httpd: Add limit for luci handler 2008-07-03 18:49:29 +00:00
Steven Barth
f0a0e50378 * libs/httpd: Fixed garbage collection 2008-07-02 15:41:47 +00:00
Steven Barth
b5204f0887 * libs/httpd: Fixed last commit 2008-07-01 18:13:02 +00:00
Steven Barth
77c7cc6596 * libs/httpd: Memory optimizations part #1 2008-07-01 18:12:34 +00:00
Steven Barth
a6619a5cb7 * libs/httpd: Fixed a memleak 2008-07-01 18:05:48 +00:00
Jo-Philipp Wich
3b2eae63a3 * libs/httpd: also handle missing directory permissions correctly 2008-06-30 12:06:49 +00:00
Jo-Philipp Wich
d7697624c4 * libs/http: removed protocol.filter, added mimetypes to protocol.mime
* libs/httpd:	handle missing permissions correctly, perform urldecode on request uri and urlencode on generated links, added css
2008-06-30 11:52:23 +00:00
Steven Barth
9926128741 * luci/httpd: Populated missing functions to wrapped socket 2008-06-29 20:49:06 +00:00
Steven Barth
66ec29f243 * libs/core: Moved ltn12 inside LuCI to avoid package conflicts with luasocket 2008-06-29 16:15:26 +00:00
Steven Barth
50039c134e * Fixed last commit 2008-06-29 14:57:30 +00:00
Steven Barth
62c61045d8 * luci/httpd: Handle timeouts on socket writes correctly 2008-06-29 14:56:33 +00:00
Jo-Philipp Wich
40d21303f3 * libs/httpd: print request uri, not real path in directory listings 2008-06-28 23:22:44 +00:00
Jo-Philipp Wich
b84259d374 * libs/http: added support for directory listings 2008-06-28 23:18:10 +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
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
Jo-Philipp Wich
7f56bf9475 * libs/http: prepare support for RFC2616 / 14.24 - 14.28 2008-06-28 02:05:48 +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
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
df8f524940 * libs/httpd: Tuned Garbage Collection 2008-06-23 21:30:44 +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
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +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
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