Jo-Philipp Wich
00f1b1d62a
uhttpd: various changes
...
- remove unused variables
- simply ignore command line args which belong to not enabled features
- resolve peer address at accept() time, should solve (#11850 )
- remove floating point operations where possible
SVN-Revision: 32704
2012-07-13 17:10:56 +00:00
Jo-Philipp Wich
86de034767
uhttpd: various fixes
...
- avoid closing descriptors before removing them from uloop (#11755 , #11830 )
- do not auto-initialize ubus if no prefix is set (#11832 )
- remove extraneous client context pointer from cgi and lua states
- code cleanups and debug message changes
SVN-Revision: 32651
2012-07-09 00:08:20 +00:00
Jo-Philipp Wich
022fa36b40
uhttpd: - rewrite large parts of the server, use uloop event driven structure - support concurrent requests and make the upper limit configurable - implement initial version of HTTP-to-ubus JSON proxy and session.* namespace - add compile time support for debug information - code style changes - bump package revision
...
SVN-Revision: 31931
2012-05-28 00:52:24 +00:00
Jo-Philipp Wich
3d035a6f6a
uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
...
SVN-Revision: 28761
2011-11-05 03:19:07 +00:00
Jo-Philipp Wich
5931a158a4
uhttpd: redirect to same location with trailing slash appended if directories are requested
...
SVN-Revision: 23952
2010-11-10 20:52:30 +00:00
Jo-Philipp Wich
fa644368ed
uhttpd: make it work without shadow password support
...
SVN-Revision: 23897
2010-11-06 16:19:04 +00:00
Jo-Philipp Wich
cbdeb30a1b
uhttpd: - fix parsing of interpreter entries in the config file, fixes serving of static files as .cgi with X-Wrt - better cope with connection aborts, especially during header transfer - fix return value checking of TLS reads and writes, solves some blocking issues
...
SVN-Revision: 22692
2010-08-18 00:04:52 +00:00
Jo-Philipp Wich
f2b534d341
uhttpd: - more robust handling of network failures on static file serving - support unlimited amount of authentication realms, listener and client sockets - support for interpreters (.php => /usr/bin/php-cgi)
...
SVN-Revision: 22630
2010-08-14 00:54:24 +00:00
Jo-Philipp Wich
3d99f03082
uhttpd: add option to reject requests from RFC1918 IPs to public server IPs (DNS rebinding countermeasure)
...
SVN-Revision: 22589
2010-08-11 00:05:34 +00:00
Jo-Philipp Wich
4172149f89
uhttpd: block SIGCHLD until it is expected ( #6957 )
...
SVN-Revision: 20513
2010-03-27 14:31:35 +00:00
Jo-Philipp Wich
8c9b818a24
uhttpd: - make script timeout configurable - catch SIGCHLD to properly interrupt select() - flag listen and client sockets as close-on-exec
...
SVN-Revision: 20500
2010-03-27 00:00:33 +00:00
Jo-Philipp Wich
169642253f
add uhttpd (moved from LuCI trunk)
...
SVN-Revision: 20428
2010-03-25 15:46:16 +00:00