Commit Graph

3060 Commits

Author SHA1 Message Date
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
624ffcb006 included qparam to url for rewriting 2014-09-06 04:08:31 +00:00
7d447c0dc6 fixed wrong qpath+qparam calculation in httpd-proxy.c 2014-09-05 17:31:36 +00:00
3b1e3dde0c enhanced httpd-proxy 2014-09-05 16:46:44 +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
b54964ac85 added fallback code for math::round() 2014-09-03 04:08:28 +00:00
2e6765e4ba added qse_shutsckhnd() 2014-09-02 15:41:12 +00:00
e8cef98c87 touched up some code 2014-09-02 15:24:30 +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
477dc278c2 added conditionals for SOL_SCTP 2014-08-29 16:26:13 +00:00
c0fc2e07d6 added mod-math.h 2014-08-29 16:22:47 +00:00
adda075fe9 fixed a crashing bug in ursd when a rewriter terminates prematurely.
changed urs code to truncate the trailing string after the  first space in the response from ursd/rewriter
2014-08-29 16:16:40 +00:00