Commit Graph

3383 Commits

Author SHA1 Message Date
75dea7aa43 added preloop and postloop hooks into qse_httpd_ecb_t.
added qse_httpd_custom_t for customized event dispatching
allowed dns and urs services to be disabled programatically
added qse_httpd_addhnd() and qse_httpd_delhnd() for customized event dispatching
2014-10-30 05:53:35 +00:00
85dca3e39a changed cohttpd to call qse_comparehttpversions() for version comparison 2014-10-24 15:37:42 +00:00
1f47f89062 disabled chunking in directory listing regardless of keep-alive if http version is 1.0 or earlier 2014-10-24 07:25:31 +00:00
d207120933 fixed fio.c for not handling QSE_FIO_MBSPATH perperly on dos.
fixed httpd further for dos
2014-10-24 05:37:03 +00:00
2218670769 changed how to compare a map against data of other types.
fixed some problems in handling nonblocking connect and send with watt-32
2014-10-23 16:09:05 +00:00
84798f4fd0 changed functions and macros related to quick integer handling 2014-10-23 09:30:22 +00:00
aed205c298 changed awk to represent an integer of a certain range in a pointer directly 2014-10-23 09:18:49 +00:00
fe1ff5cdba added qse_awk_rtx_getvaltype() and qse_awk_rtx_getintfromval() macros 2014-10-22 17:05:45 +00:00
4de030f8a3 changed awk to convert a map to the size of the map in a scalar context.
allowed @include inside a normal block
2014-10-22 01:34:37 +00:00
003c637c0f updated documentation 2014-10-21 17:58:18 +00:00
d363cd2e62 fixed wrong comments 2014-10-20 12:38:56 +00:00
5e94b7d9b2 fixed more code for watt-32 2014-10-20 04:58:15 +00:00
552bb7cc20 fixed code a bit for watt-32 2014-10-19 13:59:44 +00:00
d9d75a5db5 fixed multiple glitches for building on non-posix platforms 2014-10-19 12:50:51 +00:00
e7287cb52c fixed code for an old gcc compiler that couldn't recognize x86 inline assembly containing the rep prefix on the same line as the movXX and stoXX instructions. 2014-10-17 15:37:36 +00:00
a842cf0767 changed httpd to accept http://name:port and https://name:port as a document root value 2014-10-17 14:15:15 +00:00
c4df310ee7 changed logging messages 2014-10-16 13:44:19 +00:00
a97cce7d70 enhanced httpd to accept a document root specified of the secure nwad prefixed with https://.
moved ssl context initialization for server from the httpd structure to the server structure
2014-10-16 12:30:20 +00:00
c9d23a0d8b added https proxying without certificate check. this is different from CONNECT. when this feature is used, the proxy establishes a https connection to the origin server 2014-10-15 15:33:37 +00:00
ca272bb55e fixed a bug of not resetting htre's flags field when clearing it 2014-10-14 12:55:00 +00:00
c5001505cd added QSE_HTTPD_RSRC_PROXY_X_FORWARDED and actual implementation 2014-10-13 14:14:06 +00:00
743196e796 removed a space when appending extra items to an environment variable for cgi 2014-10-12 13:12:24 +00:00
bd64702fd4 added qse_env_append() and related functions.
fixed how to handle multiple values with the same key when setting an environment variable for a cgi script
2014-10-11 14:33:26 +00:00
0f229c15f5 removed X-Forwarded-Port 2014-10-10 16:42:34 +00:00
47d8346040 Added some x-forwarded-* headers 2014-10-10 16:13:42 +00:00
e46977a212 added a new root type for httpd - <XXX> where XXX is a relocation code or an error code 2014-10-09 14:42:02 +00:00
870f307d96 added an option to handle intercepted sessions locally 2014-10-09 13:09:23 +00:00
bd40641e08 changed httpd-std.c to drop a query request not beginning with a slash when it's handled locally. 2014-10-09 12:46:12 +00:00
65f3c473f9 added QSE_HTTPD_RSRC_PROXY_ALLOW_UPGRADE and related code with it 2014-10-09 05:02:52 +00:00
0cee2a3614 fixed Content-Length handling for protocol upgrade 2014-10-08 16:57:18 +00:00
0ae76bd5ed fixed protocol upgrade handling 2014-10-08 16:18:52 +00:00
5edd4f38cf fixed the missing semicolon problem 2014-10-08 15:40:32 +00:00
1df4e0bc9f enhanced proxying to handle protocol upgrade.
enhanced qse_mbsword() and its family to accept an extra delimiter
2014-10-08 14:07:55 +00:00
8a32cbc4f1 added some protection againt double dns resolution and double url rewriting 2014-10-02 06:36:55 +00:00
96f42a0815 added an interim solution to sendto failure in dns and urs handling 2014-09-29 14:17:44 +00:00
0cd8dfe54c added some experimental code 2014-09-28 16:05:56 +00:00
7cb0f4eeea changed the unix socket naming convention 2014-09-28 02:57:08 +00:00
db9be394f3 added the unix socket support to httpd dns 2014-09-28 02:51:57 +00:00
39ab9d0320 * changed the QSE_NWAD_LOCAL address format. it must be prefixed with @.
* fixed conversion error of a QSE_NWAD_LOCAL address to a string
2014-09-27 15:22:08 +00:00
117b1d3618 fixed a minor bug in mux.c
improved dns and urs handling for QSE_NWAD_LOCAL
2014-09-27 14:40:05 +00:00
a003346acf touched up unix socket handling in urs 2014-09-27 03:32:32 +00:00
718fd13481 added unix socket support into httpd urs 2014-09-26 16:46:10 +00:00
79ba0215eb added QSE_NWAD_LOCAL 2014-09-26 15:07:06 +00:00
056cff9192 changed configure.ac to detect dirfd() and related stuffs.
changed lib/cmn/syscall.h to use DIRFD related macros produced by configure
2014-09-25 15:27:08 +00:00
45ad42fa36 removed unneeded lines 2014-09-19 15:44:37 +00:00
b7d14da21e simplified relocation handling
deleted qse_httpd_entaskredir() and related definitions
added virtual(function pointer) cgi  support.
improved pio to read /dev/fd
implemented QSE_PIO_FNCCMD for qse_pio_t
2014-09-19 14:05:02 +00:00
bf25f92704 enhanced qse_pio_t to use /proc/self/fd and/or /proc/<<pid>>/fd more actively 2014-09-17 15:02:14 +00:00
bb7ece059d fixed wrong memory disposal problem 2014-09-17 13:58:40 +00:00
f84b27c1de fixed the problem of no percent-encoding of decoded query path in proxying 2014-09-17 13:26:21 +00:00
94f015ea98 deprecated qse_ubi_t and introduced qse_httpd_hnd_t 2014-09-16 14:14:51 +00:00