811 Commits

Author SHA1 Message Date
cce68401e2 fixed code a bit more for the old sco compiler 2014-11-17 15:57:00 +00:00
e57c9673d1 enhanced types and macros to handle the wchar_t type defined to 1 byte in size 2014-11-17 15:25:55 +00:00
e3be2e5273 fixed configure.ac 2014-11-17 15:01:49 +00:00
0962885749 touched up code a bit for building with watcom. 2014-11-16 07:17:06 +00:00
45cb237aa6 added fields to keep an original query path in qse_htre_t
changed proxying routines to use the original query path instead of percent-encoding back
2014-11-14 16:56:51 +00:00
0b286a7e2a switched many #ifdef's to #if defined() 2014-11-14 02:44:20 +00:00
652784bafb made minor changes related to qse_httpd_configmod() 2014-11-13 16:39:37 +00:00
c23e2a4a7c added experimental code to pass unvalidated configuration items to a module 2014-11-12 15:39:45 +00:00
f049aa4b09 added a new option QSE_XLI_SCM_RELAXED to skip validation of child pairs under a list value 2014-11-12 05:59:47 +00:00
47d8710232 changed some error messages 2014-11-11 15:51:13 +00:00
643f84a8dd implemented proxy peer connection caching experimentally 2014-11-11 15:41:11 +00:00
f0fe04fef2 enhanced configure.ac for better ssl detection 2014-11-10 09:24:35 +00:00
3ab19cb3b8 changed StdAwk to use exported functions in std.c 2014-11-08 06:19:07 +00:00
a30c831081 redefined IDXBUFSIZE 2014-11-06 17:41:20 +00:00
fb638de6d6 implemented a workaround to handle garbage contents when reading a http response from a misbehaving server 2014-11-04 16:01:00 +00:00
ed2cdcaa87 added qse_htrd_geterrnum().
changed a log message in xli/err.c
2014-11-03 15:33:15 +00:00
06e55b9c7e added wrapper functions - qse_httpd_mbsdup() and qse_httpd_mbsxdup() 2014-11-02 12:01:22 +00:00
514eee844f defined QSE_HTTPD_TIMER_INVALID_INDEX 2014-11-02 11:41:00 +00:00
569b30039b renamed existing qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() to qse_httpd_insert_timer_event() and qse_httpd_remove_timer_event().
the renamed functions should be used internally only.
added new qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() that can be used by external callers.
added qse_httpd_timer_event_t and other required definitions for the new functions
2014-11-01 15:27:56 +00:00
baecb98181 export qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() 2014-10-31 15:55:58 +00:00
0cd5ed43a8 changed some code comments 2014-10-31 10:23:03 +00:00
cc2aeb50ab added qse_httpd_entasktextwithmvk() 2014-10-31 10:06:24 +00:00
f10f9a569b touched up httpd debug logging 2014-10-31 08:24:49 +00:00
2c5d85f55f fixed a bug in qse_httpd_addhnd().
exported qse_httpd_entaskerrorwithmvk()
2014-10-30 16:29:48 +00:00
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