787 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
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
d9d75a5db5 fixed multiple glitches for building on non-posix platforms 2014-10-19 12:50:51 +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
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
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
65f3c473f9 added QSE_HTTPD_RSRC_PROXY_ALLOW_UPGRADE and related code with it 2014-10-09 05:02:52 +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
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
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
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
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
2ca7afd90c added dns preresolution 2014-09-12 14:11:47 +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
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
d4439858d3 added some module handling code 2014-09-05 15:52:19 +00:00
bfeb437225 added qse_httpd_mod_t and supporting functions 2014-09-04 16:55:45 +00:00
d8f8f93207 added QSE_HTTPD_MODPREFIX and QSE_HTTPD_MODPOSTFIX 2014-09-03 17:11:01 +00:00
4b0f12a896 attempting to add dynamic modules into httpd 2014-09-03 16:57:33 +00:00
2e6765e4ba added qse_shutsckhnd() 2014-09-02 15:41:12 +00:00
fc20cb22ea added urs.prerewrite() 2014-09-01 17:37:08 +00:00
46f13c54b3 enhanced qse_getnwifcfg() for linux.
added qse_mbshextobin(), qse_wcshextobin()
2014-08-30 05:40:57 +00:00
f27f5a650e written more ursd code 2014-08-27 17:39:31 +00:00
78f8b4a994 added some urs code 2014-08-25 16:18:17 +00:00
eb1511b817 added more configuration items to httpd 2014-08-13 14:35:43 +00:00
1d1331247a added host/location specific dns/urs server 2014-08-12 01:42:13 +00:00
2fa6802c03 enhanced httpd 2014-08-11 05:44:03 +00:00
1ba63f1829 Added qse_str_amend()
almost finished primitive url rewriting
2014-08-08 18:53:04 +00:00
0bb946c800 added more code for dns and url rewrting support 2014-08-07 16:29:22 +00:00
ae45071b5e improved dns handling and added some code for url rewriting 2014-08-06 16:44:06 +00:00
4f4f42ae4f enhanced httpd's dns handling 2014-08-05 16:55:15 +00:00
ccb6ddcefd handled dns timeout in httpd 2014-08-05 09:55:00 +00:00
fc667d28e3 added timer and enhanced httpd to use timer for idling detection 2014-08-04 16:34:22 +00:00
fdc0ce7623 added some time calc functions 2014-08-01 17:17:00 +00:00
019475149c added QSE_HTTPD_SERVERSTD_PSEUDONYM 2014-07-30 16:42:25 +00:00
ae759f21e3 added X-Forwarded-For and fixed Via in httpd 2014-07-29 16:39:14 +00:00
e8a241ed71 changed sockets and pipes used in httped to work in non-blocking mode 2014-07-25 17:28:20 +00:00
1231b3b941 improved dns and proxy handling in httpd 2014-07-23 16:07:43 +00:00