Commit Graph

3575 Commits

Author SHA1 Message Date
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
3a30d67411 fixed missing urs deactivation upon initialization failure 2014-09-16 05:31:28 +00:00
2ca7afd90c added dns preresolution 2014-09-12 14:11:47 +00:00
ffce4c94aa fixed a memory leak bug caused when the duplicated host name is an address.
fixed wrong redirection code processing bug in rewriting handler.
fixed a bug of not setting the default port when no port is specfied in rewritten url address
2014-09-12 07:23:34 +00:00
1f96cd45ab fixed a bug that the remaining buffer capacity is calculated incorrectly when returning a footer to directory listing.
switched snprintf to qse_mbsxfmt() and qse_mbsxfmts().
added qse_mbsfmts()/qse_wcsfmts() and variants
2014-09-11 15:03:12 +00:00
05efcf040e added proxy.intercept 2014-09-11 12:54:06 +00:00
a55e3b0238 fixed a bug of not handling the default dns server value properly 2014-09-11 10:16:24 +00:00
97c528ca1f added qse_httpd_dns_server_t and qse_httpd_urs_server_t.
deleted qse_httpd_natr_t.
deleted QSE_HTTPD_DNSNOA and QSE_HTTPD_DNSNOAAAA
added QSE_HTTPD_DNS_SERVER_A and QSE_HTTPD_DNS_SERVER_AAAA
2014-09-11 09:02:07 +00:00
3fd82c7943 did some prep work to make dns query type configurable 2014-09-06 04:20:35 +00:00