33546fb6d7
changed nwio to use poll if available instead of select
2017-01-25 06:30:43 +00:00
2151e2997f
changed HAVE_SYS_POLL_H to HAVE_POLL_H in httpd-std.c
2017-01-25 06:03:21 +00:00
2efe909dba
changed the threshold value for FD_SETSIZE check
2017-01-25 05:40:49 +00:00
1fffa0324e
changed the writability checker to use poll() to handle a high file descroptor in httpd-std.c.
...
added server.backlog-size option for httpd servers
2017-01-25 05:28:02 +00:00
cf0956cad6
changed qse_fs_cpfile() to copy a directory that has been copied already
2016-12-18 17:12:21 +00:00
662fdec270
added QSE_XXX_EPERM to some files
2016-12-17 17:38:03 +00:00
5a642d0dd6
changed wrong macro names
2016-12-13 01:45:11 +00:00
7ca53162de
added glob handling to qse_fs_cpfile()
2016-12-12 16:19:59 +00:00
78600e6edc
added qse_fs_setattr() and related functions
2016-12-10 18:08:02 +00:00
eea7ef5405
updated documentation on match()
2016-11-09 14:12:42 +00:00
905da20d24
implemented the option fourth parameter to match() in awk to support submatch retrieval
2016-11-09 14:12:22 +00:00
27dd0a551b
updated htb.h and arr.h
2016-09-25 15:43:17 +00:00
d321a312d4
added qse_arr_setheapposoffset()
2016-09-24 04:01:17 +00:00
6b9fd818f8
added qse_arr_updateheap(), qse_arr_deleteheap()
2016-09-24 02:49:24 +00:00
7f24950536
renamed qse_lda_t to qse_arr_t
2016-09-23 14:53:51 +00:00
dfdc6ae045
fixed documentation in lda.h
2016-09-21 13:19:27 +00:00
1b4479d437
fixed wrong htb header documentation
2016-09-21 10:18:21 +00:00
735183d5a6
removed more unneeded definitions
2016-05-31 08:13:36 +00:00
c00b988dcd
removed unneeded definitions
2016-05-31 08:10:31 +00:00
89ce0eb2c3
added an aio test program
2016-04-30 04:32:52 +00:00
f58226a99b
added qsesi.pc.in again
2016-04-30 04:22:24 +00:00
b6dfbed804
added qsesi.pc.in
2016-04-30 04:20:10 +00:00
27317f9458
added sys/poll.h to configure.ac
2016-04-29 04:53:10 +00:00
66dfa3a2fd
did more migrating works
2016-04-29 03:55:42 +00:00
3fc215d1e7
fixed os2 build files
2016-04-28 16:02:47 +00:00
cc068a60ab
added back sck.h
2016-04-28 16:00:13 +00:00
cea0f129c1
deleted unneeded directories
2016-04-28 15:59:12 +00:00
5f46de1083
updated build files
2016-04-28 15:57:20 +00:00
616e24ee00
moved more files to si
2016-04-28 15:43:33 +00:00
9cb6c963fa
migrated some files from cmn to si
2016-04-28 15:29:28 +00:00
49d3dcfeda
merged sys and io to si
2016-04-28 14:33:10 +00:00
3c5b45571e
rewrote assertion output function to remove dependency on sio
2016-04-28 05:52:35 +00:00
61a6cf281f
added aio files. some file restructuring in progress
2016-04-27 14:57:50 +00:00
632a4d7181
added QSE_ALIGNTO(), QSE_ALIGNTO_POW2(), QSE_IS_UNALIGNED_POW2(), QSE_IS_ALIGNED_POW2()
2016-04-27 06:54:18 +00:00
8b417bab8f
corrected harmless glitches
2016-04-26 13:30:29 +00:00
cfc92b99b7
fixe wrong character class macros
2016-04-26 05:59:15 +00:00
7b168e67e7
added a missed file
2016-04-18 07:08:56 +00:00
9b4c897d6c
changed pio to used param->fixed_argv if the number of arguments is <= 3
2016-04-11 14:32:27 +00:00
5b395db9e7
made ursd compileable for win32/64
2016-04-10 00:06:28 +00:00
645f6d0c42
added Socket.cpp
2016-04-08 11:11:20 +00:00
54a883bc1e
added sys::mktime() and sys::strftime() to awk
2016-04-08 09:52:55 +00:00
1bdd1f5f6c
changed the function signature of qse_tmr_gettmout()
2016-01-30 18:07:20 +00:00
ca08d90853
fixed indentiions and type names
2016-01-29 12:31:08 +00:00
6353bbfc15
added qse_setscknonblock(), qse_initsckconn(), qse_finisckconn()
2015-12-31 15:15:44 +00:00
07f4118d5d
touched up code a little bit
2015-12-13 09:56:44 +00:00
1d99026dbc
enhanced awk to detected divide-by-zero error when folding constans
2015-11-20 03:12:07 +00:00
028646bb54
added QSE_HTTPD_SERVER_TRANSPARENT to allow optional support for TPROXY.
...
changed to set the target to SECURE when the intercepted connection is known to be SECURE
2015-11-15 14:23:59 +00:00
c7bd05b419
added a minor build check in mod-math.c requiring quadmath.h in a certain context
2015-11-03 13:40:56 +00:00
c42a9945b1
changed to use lt_dlopenadvise() instead of lt_dlopenext()
2015-10-26 16:40:09 +00:00
cb61a8ac69
fixed indentation
2015-10-14 08:45:28 +00:00
768c2eb0c5
moved mux.c to sys from cmn
2015-10-02 06:10:55 +00:00
850ae4d83b
changed awk and sed to use qse_setintrhandler()
2015-10-02 05:27:25 +00:00
96744530f0
added qse_setintrhandler() & qse_clearintrhandler()
2015-10-02 03:21:20 +00:00
b53509e1f8
added qse_rwl_t
2015-10-01 15:51:15 +00:00
49f4c3087f
added QSE_SECNSEC_TO_USEC()
...
removed qse_mtx_trylock() and added the waiting_time parameter to qse_mtx_lock()
2015-09-30 13:22:40 +00:00
74ab14974b
enhanced intercept handling in httpd
2015-09-28 07:33:46 +00:00
1f6fbd4f9f
added qse_cnd_t
2015-09-24 14:35:50 +00:00
2ca43127fc
added qse_mtx_t
2015-09-24 02:20:39 +00:00
e4a3026dc1
reorganized strjoin and related functions
...
added qse_thr_t
2015-09-23 13:34:04 +00:00
e11704ce16
added the SocketAddress class partially done
2015-09-15 13:29:15 +00:00
5d35faf028
updated the xli test program to terminate on failure of qse_xli_setpairwithstr()
2015-09-02 08:45:56 +00:00
dc43385559
added qse_xli_setpairwithstr() and qse_xli_deletepair()
2015-09-02 08:43:43 +00:00
b4a08c4fee
wrote qse_xli_writeini()
2015-09-02 01:27:08 +00:00
3e1f52baa9
implemented comment preservation in the ini-format reader code correctly
2015-09-01 12:24:05 +00:00
9cf7a9af9d
fixed a bug that the ini-format reader of xli handles a comment on the same line as the key-value pair.
...
did a preparatory work for writing qse_xli_writeini()
2015-09-01 06:32:14 +00:00
9532597507
finished implementing the initial ini-format reader.
...
added qse_xli_readinistd()
2015-08-31 13:31:30 +00:00
7cda6152f3
added more ini-format reader code into xli
2015-08-30 13:22:17 +00:00
63ecef90a0
enhanced the xli reader to recognize some other line termination conventions than a single LF.
...
added more code to the upcoming ini-style format reader
2015-08-30 03:11:54 +00:00
e8fb5c1948
started writing the ini-style file reader in xli
2015-08-29 13:04:46 +00:00
b00eaada24
simplified some null checks
2015-08-13 02:28:22 +00:00
1963e62006
enhanced qse_awk_rtx_strtonum() to handle a numeric string like 0999.112 as a floating point number
2015-07-16 03:03:51 +00:00
26440f1a96
removed unnecessary code in some initialization code.
...
added errnum to some open functions
2015-06-12 13:11:50 +00:00
7675a86234
changed awk to carry on even if lt_dlinit() fails
2015-06-12 08:40:58 +00:00
763efada8f
added qse_isuniblank() and changed qse_isblank() to use it.
...
regenerated various build files
2015-06-12 03:54:04 +00:00
40c6e5f5fe
changed the way to fall back to utf8 when system functions are not available
2015-04-27 13:03:32 +00:00
c6644d5b52
changed qse_setdflcmgrbyid() and qse_setdflcmgr() to return the cmgr object set.
...
changed the default cmgr to either SLMB or UTF8 depending on the availability of underlying library functions
2015-04-27 08:37:57 +00:00
0a8e84add2
fixed some build problems on mac os x 10.1
2015-04-26 16:20:21 +00:00
f9b3428a21
added -lqsecmn to libqsecmnxx_la_LIBADD in lib/cmn/Makefile.am
2015-04-20 13:15:45 +00:00
67c3e6d392
changed @ to \ in header docuumentation
2015-04-06 08:09:18 +00:00
3d9e4dbbf3
added pkgconfig files
2015-04-06 03:34:29 +00:00
4db106fcc3
changed QSE_CPP_ENABLE_CPP1_MOVE to QSE_CPP_ENABLE_CPP11_MOVE
2015-04-04 15:27:50 +00:00
e53cb861a7
added a missed file
2015-03-28 01:04:18 +00:00
1c1d9b4158
changed code for old compilers
2015-03-24 09:34:57 +00:00
7706db354e
fixed building problems with old compilers
2015-03-23 15:14:43 +00:00
682cefde1b
touched up Array
2015-03-20 14:07:54 +00:00
087faf9f67
added QSE_CPP_RVREF.
...
enhanced Array and BinaryHeap for C++11
2015-03-20 13:53:54 +00:00
1e839dba3d
added some move-sensitive functions to Array
2015-03-20 08:03:52 +00:00
8d1704c0a4
fixed minor building issues.
...
renamed sys::getpgrp to sys::getpgid
2015-03-19 14:07:50 +00:00
e0d36803cc
added QSE_XLI_KEYSPLITTER
2015-03-19 07:26:06 +00:00
bfee646924
fixed a bug of getting %lu wrongly in fmt-out.h
...
fixed some typos in StrBase.hpp
enhanced String::format & String::formatv
2015-03-19 02:33:15 +00:00
b15016a997
added String.cpp
2015-03-18 14:45:52 +00:00
c090a950c7
added Growable and enhanced StrBase
2015-03-18 13:53:22 +00:00
c6d29bc9b6
added more functions to StrBase
2015-03-17 16:06:07 +00:00
b4fd70b1e4
changed the behavior of member functions of RefCounted.
...
Changed SharedPtr to make use of RefCounted.
Added StrBase and String.
2015-03-14 00:54:56 +00:00
36e75b3bb2
renamed member variables of some classes
2015-03-12 11:32:18 +00:00
756a93ff41
renamed Awk::uponDemise() to Awk::uponClosing and added Awk::uponClearing()
2015-03-12 06:39:16 +00:00
0355e4e96e
added more constructors to Cstr, Mcstr, Wcstr
2015-03-12 02:14:13 +00:00
47a7baeb7d
added the Awk::onDemise() callback
2015-03-12 02:08:51 +00:00
a212a8ebf2
changed Awk to use HashTable instead of htb.
...
added Cstr, Mcstr, Wcstr.
changed Awk not to use in-class placement new in allocating a value
2015-03-11 13:33:23 +00:00
cb62c4ecd1
added quite a few sample programs
2015-03-11 06:12:48 +00:00
3793785e7c
enhanced constructors of some Mmged classes.
...
added Mmged:setMmgr() and changed the accessibility of the member manager variable
2015-03-11 01:47:26 +00:00
23b718f366
deleted SharedPtr and renamed MmgedSharedPtr to SharedPtr
2015-03-11 01:16:31 +00:00
9a3ca2e3c1
changed Awk and Sed to inherit Uncopyable
2015-03-10 09:00:21 +00:00
49d57e3155
added SharedPtr and MmgedSharedPtr
2015-03-10 08:40:31 +00:00
15d76c28a1
added Array::upsert(), Array::ensert().
...
enhanced ScopedPtr
2015-03-10 06:25:15 +00:00
8eadd34b9d
added POSITIONER to Array and BinaryHeap
2015-03-09 07:05:46 +00:00
09bd5bb54a
fixed a wrong function name in Array.
...
exposed BinaryHeap::getIndex()
2015-03-07 04:03:54 +00:00
5f517f8316
refactored Array a bit
2015-03-07 04:00:44 +00:00
efc997750e
changed void* operator new (qse_size_t size, QSE::Mpool* mp) to fall back to mmgr upon size mismatch.
...
finished primitive BinaryHeap code.
renamed Array::get() to Array::getValueAt()
renamed Array::set() to Array::setValueAt()
2015-03-07 03:55:40 +00:00
fc316009b6
removed ExcMmgr.cpp
2015-03-06 18:27:36 +00:00
dda5db6257
fixed a bug in void* operator new (qse_size_t size, QSE::Mpool* mp)
...
removed Mpool from Array
2015-03-06 18:24:49 +00:00
bdf3e2652d
wrote mote code for Array
2015-03-06 15:51:13 +00:00
0c0f0df7d8
Added a couple of 'operator new()' definitions.
...
Started adding Array and BinaryHeap
2015-03-04 16:30:09 +00:00
e26a49bcb8
added more functions to RedBlackTable
2015-03-02 14:42:55 +00:00
0ece41a9e0
added RedBlackTable
2015-03-01 12:55:36 +00:00
8c4921a9b4
enhanced RedBlackTree's iterator
2015-03-01 07:34:54 +00:00
6deef2ce4b
added RedBlackTree::remove()
...
partially added RedBlackTree::getIterator()
2015-03-01 06:29:54 +00:00
ecdb510e4b
added rotate() and adjust() to RedBlackTree
2015-02-28 16:21:01 +00:00
88e2e477b9
fixed wrong words
2015-02-27 15:30:35 +00:00
14f5a8a9b3
added HashList::inject() and HashTable::inject().
...
improved HashTable::upsert().
added HashList::ensert() and HashTable::ensert().
started porting rbt to RedBlackTree
2015-02-27 15:27:59 +00:00
06dbccbc06
simplified HashTable, HashList, LinkedList
2015-02-27 14:19:04 +00:00
ca8956366c
removed MPOOL from some template classes
2015-02-27 07:26:51 +00:00
ae717e066e
changed HashTable::remove() and HashTable::search() to use HashList::heteroxxx() calls
2015-02-26 03:15:15 +00:00
f93f5e9704
experimenting on a simpler HashTable implementation
2015-02-25 16:27:46 +00:00
37792be000
added Mpool::swap().
...
fixed a bug in HashList::rehash() when the memory pool is enabled.
added LinkedList::reverse()
2015-02-24 15:42:45 +00:00
890097af66
refactored HashTable, HashList, LinkedList
2015-02-23 17:40:45 +00:00
8c15d39d9a
remove the raise_exeception member variable from the memory manager.
...
changed the allocate(), reallocate(), callocate() to accept raise_exception instead.
touched up HashTable a bit
2015-02-17 04:45:20 +00:00
0a5ee4de4d
added COMPARATOR to HashTable
2015-02-05 16:13:33 +00:00
6da46ff4e1
added Mmgr::callocate()
...
fixed various problems in HashTable
2015-02-05 15:51:50 +00:00
6e92bb2985
added Pair and HashTable
2015-02-04 13:43:01 +00:00
67a5f4f5f5
used utime and utimes as a fallback in fs-copy.c
2015-02-03 02:26:32 +00:00
ac6661de94
added missed HeapMmgr files
2015-02-02 13:41:10 +00:00
bb1d41d4d0
dropped ExcMmgr and enhanced Mmgr to incoporate both exception raising and error returing
2015-02-02 13:30:33 +00:00
8fc288e750
added the HeapMmgr class
2015-02-02 10:45:57 +00:00
65b4e57a79
updated non-unix/linux build files
2015-02-01 16:09:44 +00:00
fbd7f3ccae
changed the memory allocation scheme for some c++ classes
2015-02-01 16:07:26 +00:00
0585bf00ae
removed redundant comments
2015-02-01 04:12:07 +00:00
3f94bd2cd6
implemented a hack not to use the chunked transfer encoding ii the response code is 1xx, 204, 304 or the request method is HEAD
2015-02-01 04:10:56 +00:00
e7a598f591
changed a wrong macro named used in fs-copy.c
2015-01-23 03:30:44 +00:00
fc9ad20e7a
touched up code a little bit
2015-01-19 03:52:06 +00:00
dc118785c7
added the HashList class
2015-01-18 15:52:21 +00:00
36829a55d7
added QSE::Exception
2015-01-18 13:43:12 +00:00
48536f73c9
corrected tiny little source glitches
2015-01-15 06:02:25 +00:00
8d88ef3f40
added ExcMmgr
...
simplified LinkedList
2015-01-05 04:15:32 +00:00
3b672857aa
added Mpool and LinkedList
2015-01-02 06:40:41 +00:00
91e4e06318
changed int operator! to bool operator!
2014-12-31 16:29:52 +00:00
53a3366e7f
added ScopedPtr
2014-12-31 16:19:33 +00:00
fe0a2a6d63
added a few basic c++ classes
2014-12-31 16:09:19 +00:00
c0fb7692d6
fixed variable declarations
2014-12-27 07:00:05 +00:00
0fdcaf547f
removed recursion in file copying
2014-12-18 15:05:52 +00:00
206065f904
simplified file copying
2014-12-17 15:29:05 +00:00
11f364a6d0
added fs-copy.c
2014-12-16 04:19:48 +00:00
1ef7fc2569
touched up glob.c and glob.h
2014-12-15 04:26:41 +00:00
ac61c3044a
added qse_globmbs() and qse_globwcs()
2014-12-14 15:55:03 +00:00
77939a5940
enhanced dir.c to handle both mbs and wcs by implementing the new QSE_DIR_WCSPATH option
2014-12-11 16:03:58 +00:00
0a9a80c567
added some code for file copying
2014-12-09 13:41:58 +00:00
870622f6c7
enhanced qse_fs_cpfileXXX() a bit.
...
added qse_mergepathdup() and related functions
2014-12-08 15:07:55 +00:00
af623db137
added code to handle QSE_FS_CPFILE_PRESERVE
2014-12-07 17:09:43 +00:00
e01c1f8644
wrote a file copy function partially
2014-12-03 15:27:45 +00:00
44129510dc
fixed glob.c to use qse_stat_t instead of struct stat.
...
fixed other minor problems
2014-11-28 17:01:29 +00:00
947f5a8d8d
added qse_getpathcore()/qse_getmbspathcore()/qse_getwcspathcore()
...
added qse_fs_dupfspathforwcs()
improved qse_fs_mkdirXXX()
2014-11-27 15:58:51 +00:00
99e9160c53
corrected some mistakes in qse_fs_mkdir()
2014-11-26 15:38:08 +00:00
8304c5920e
started writing qse_fs_mkdir()
2014-11-26 15:33:30 +00:00
5f61505860
added qse_fs_setopt() & qse_fs_getopt().
...
added QSE_FS_CBS and changed qse_fs_del() to call cbs.del() if available
2014-11-26 15:14:24 +00:00
cbb7991ca8
added QSE_DIR_LIMITED & QSE_GLOB_LIMITED
...
fixed bugs in qse_fs_delXXX()
2014-11-25 03:25:46 +00:00
7d21e90ce2
renamed qse_tmr_remove() to qse_tmr_delete().
...
removed qse_fs_delete() and added qse_fs_delfile()/qse_fs_deldir() with some new options
2014-11-24 17:01:04 +00:00
8678660b82
added some experimental and unfinished code using tli
2014-11-20 15:12:28 +00:00
619425cd72
indented some lines in the LICENSE file
2014-11-19 14:50:27 +00:00
56e5b5191b
switched the license to BSD
2014-11-19 14:42:24 +00:00
28ad5392c8
fixed files for an old compiler
2014-11-18 16:10:12 +00:00
284a0b18be
touched up code for old sco compiler
2014-11-17 17:18:11 +00:00
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
47bec1e857
fixed a typeing mistake
2014-11-14 02:45:45 +00:00
0b286a7e2a
switched many #ifdef's to #if defined()
2014-11-14 02:44:20 +00:00
3db3396955
allowed to use dynamic loader even if QSE_ENABLE_STATIC_MODULE is defined
2014-11-14 02:31:47 +00:00
206781ce27
changed QSE_ENABLE_STATIC_MOUDLE handling in httpd
2014-11-13 17:20:55 +00:00
652784bafb
made minor changes related to qse_httpd_configmod()
2014-11-13 16:39:37 +00:00
49febef055
renamed QSE_XLI_SCM_RELAXED to QSE_XLI_SCM_VALIFFY.
...
added qse_httpd_configmod().
changed qse_httpd_loadmod() to return qse_httpd_mod_t*
2014-11-13 10:15:53 +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
ca04358d50
fixed sendfile() for freebsd
2014-11-08 16:10:35 +00:00
3ab19cb3b8
changed StdAwk to use exported functions in std.c
2014-11-08 06:19:07 +00:00
45b97e9f4d
renames some functions for building on freebsd
2014-11-08 03:50:43 +00:00
a30c831081
redefined IDXBUFSIZE
2014-11-06 17:41:20 +00:00
17b55e20ed
fixed wrong field names in cmn/fs.c
...
fixed a memory leak bug in run_printf of awk/run.c
2014-11-06 17:12:34 +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
893c3f74f8
added \n to one of debugging messages
2014-10-31 08:50:36 +00:00
e35190e23d
changed debugging ouput tput format
2014-10-31 08:48:48 +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
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
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
433686b599
enhanced ursd
2014-08-28 15:59:20 +00:00
f27f5a650e
written more ursd code
2014-08-27 17:39:31 +00:00
4195be2c84
fixed wrong parsing of length()
2014-08-27 17:39:03 +00:00
0251aef726
entouched upse_memcpy(), qse_memset().
...
added some code for urs
2014-08-26 16:29:56 +00:00
187443bb1d
added ursd.c
2014-08-25 16:18:50 +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
f1a77eb311
updated some build files
2014-08-04 16:36:37 +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
c1888aba6a
added EWOULDBLOCK into error code translation
2014-07-25 18:25:41 +00:00
043be1bcdc
fixed a typo
2014-07-25 18:10:56 +00:00
e8a241ed71
changed sockets and pipes used in httped to work in non-blocking mode
2014-07-25 17:28:20 +00:00
6137df4e86
implemented simple dns caching in httpd
2014-07-24 16:22:06 +00:00
1231b3b941
improved dns and proxy handling in httpd
2014-07-23 16:07:43 +00:00
5703aaa8a5
touched up httpd
2014-07-22 17:58:11 +00:00
ad0d80fff5
added more name resolution code
2014-07-18 17:11:03 +00:00
88aaa1532a
added some dns code
2014-07-17 16:11:02 +00:00
4e0e403a73
added some code for name resolution
2014-07-16 15:31:04 +00:00
a0e2a7067c
squeezed in raw proxying code into normal proxy
2014-07-15 16:22:24 +00:00
a7ca23fa50
added some code to support raw proxying
2014-07-14 17:07:05 +00:00
efc8d5ceb4
touched up some code
2014-07-11 14:17:00 +00:00
fdce5fc592
migrated rand(), srand(), system() to modules
2014-07-11 07:42:28 +00:00
82a639045f
changed to prototype of qse_mmgr_t function to accept mmgr itself instead of mmgr->ctx and fixed a memory leak bug under a certain failure condition
2014-07-09 15:01:16 +00:00
36b20b4169
renamed qse_xstr_t to qse_cstr_t
2014-07-08 14:30:42 +00:00
22444e298a
changed some comments
2014-07-02 13:59:32 +00:00
a3453e5bd0
remove qse_cstr_t and related types. switched all existing references to qse_cstr_t and its family
2014-07-02 12:28:58 +00:00
7423092c39
removed most math functions from the main engine. migrated them to the math module
2014-07-01 15:27:27 +00:00
0c5d9eee9c
added math::acos, math::asin, math::ceil, math::floor, math::round, math::sinh, math::cosh, math::tanh to awk
2014-06-30 02:30:49 +00:00
6b2f1f8771
fixed a typo
2014-06-30 01:26:32 +00:00
4bb71a765e
fixed a bug in configure.ac and bugs in awk sample programs
2014-06-08 14:11:12 +00:00
d40eb87b85
exposed math functions as math::xxxx
2014-06-08 12:46:04 +00:00
e21afe6f6e
enhanced c++ compiler detection
2014-05-28 16:51:32 +00:00
134d91e5a1
removed unneeded lines
2014-05-28 08:43:03 +00:00
7774a8a8fe
migrated index_or_rindex() to fnc.c and exported some functions to shared by index(), str::index(), str::rindex()
2014-05-28 08:40:51 +00:00
9ec0981157
exposed str::match(), str::printf(), str::sub(), str::gsub()
2014-05-27 15:28:31 +00:00
b75630a8bb
exposed str::split()
2014-05-27 14:26:04 +00:00
fdad26bba1
fixed a wrong field name that caused a compilation error on solaris 8.
...
make some builtin string functiosn available under str::
2014-05-27 14:13:12 +00:00
ffe3bd3207
added str::value().
2014-05-01 14:35:17 +00:00
45b2bc5e57
added qse_sio_truncate(), qse_sio_seek(),
...
changed qse_sio_getpos() to flush first.
renamed qse_Xio_purge() to qse_Xio_drain().
2014-04-28 14:18:06 +00:00
e26b1a2a68
autoreconfed the project
2014-04-24 02:45:31 +00:00
fab24cd3d3
enhanced assertion output for win32
2014-04-23 04:37:57 +00:00
ec56609d4f
added some experimental code for legacy mac os
2014-04-22 15:30:28 +00:00
e865215e3d
fixed build problems caused by missing struct sockaddr_in6 and added an option second parater to dir::open()
2014-04-22 05:16:30 +00:00
257dbbb586
fixed definitions of INLINE macros for old gcc
2014-04-21 15:34:57 +00:00
cfb3eb93ec
fixed a minor utf8 check bug.
...
fixed static linking problem regarding the seq module for awk
2014-03-31 01:45:18 +00:00
35839c9f67
fixed a memory leak bug in StdAwk.cpp when compiled for mchar
2014-03-11 14:54:05 +00:00
fa3757222a
fixed some sample files
2014-03-03 15:36:30 +00:00
97261f9606
minor source fix
2014-02-27 15:15:36 +00:00
7cc9a56d83
added qse_awk_val_fun_t
2014-02-22 14:34:45 +00:00
d49fd50ecc
added sed::str_to_str to the sed module for awk
...
fixed some build issues on legacy systems
2014-02-20 05:29:32 +00:00
a29a11e9fc
regenerated misc makefiles
2014-02-19 15:30:37 +00:00
2e9bb90c39
added qse_awk_rtx_getvalstr() and qse_awk_rtx_freevalstr().
...
changed some code to use the 2 new functions.
added the sed module to awk. incomplete yet
2014-02-19 15:24:33 +00:00
b5de91921c
added the 'k' option to the 's' command in sed
2014-02-19 04:09:46 +00:00
9006c44b9a
touched up fundamental type definitions
2014-01-24 04:38:14 +00:00
8d8ac30f08
fixed a bug of hanlding an empty string properly in str::isxxx functions
2014-01-10 09:11:10 +00:00
876c411559
added str::isalnum, str::isblank, str:iscntrl, etc
2014-01-09 15:04:41 +00:00
a89cd70ddb
updated copyright notice
2013-12-31 10:24:12 +00:00
8e6e7f29a6
touched up gdl.h
2013-11-26 13:47:58 +00:00
5ba15ae2e4
included more characters into xli tag character set.
...
improved detection of __float128 support
2013-11-14 14:07:16 +00:00
ea55e0d7ee
added a build option to use qse_intmax_t for integers in awk.
...
made relevant changes to support the option
2013-11-05 14:16:45 +00:00
2a5dd843dd
enhanced qse_awk_flt_t handling
2013-11-05 02:53:01 +00:00
ca1d1ede66
changed awk to less sensitive about encoding when loading environment.
...
fixed a bug of setting encoding wrongly with --script-encoding in cmd/awk/awk.c
2013-11-04 17:37:08 +00:00
9588bf2910
enhanced va_copy detection
2013-11-04 02:33:52 +00:00
be129e743b
removed stdio.h stdio.c
2013-11-03 16:48:20 +00:00
91c9182ad7
enhanced __float128 handling
...
added qse_strvfmt() and qse_strxvfmt()
2013-11-03 16:01:39 +00:00
fa47ad2965
enhanced qse_str_fmt()
2013-10-30 13:50:21 +00:00
d97ef30707
added qse_str_fcat()
2013-10-30 05:53:54 +00:00
7074b0c389
reorganized str-dyn files
2013-10-29 14:14:43 +00:00
aaf73a86f5
fixed wrong return values of qse_fmtout
2013-10-28 09:40:25 +00:00
1a0dc68fa3
changed not to use the opposite type when outputting the padding character
2013-10-27 17:14:19 +00:00
198bd714b0
started writing qse_strfmt()/qse_strxfmt() and the famaily
2013-10-24 14:55:15 +00:00
636967779d
enhanced line breaking in sio
2013-10-21 14:53:53 +00:00
a629a06cdc
fixed some build problems
2013-10-21 08:39:53 +00:00
f95e8594b8
added more sio functions
2013-10-20 15:22:44 +00:00
8b0e522b27
added some convenience routines into sio
2013-10-20 14:14:10 +00:00
abff341236
added fmt.h
2013-10-20 12:39:31 +00:00
bd3502f7e9
added qse_sio_putmbsf(), qse_sio_putwcsf(), qse_sio_putstrf()
2013-10-19 03:39:10 +00:00
35e9b1777f
enhanced xprintf
2013-10-16 15:32:51 +00:00
b70e378041
added some code to format floating-point numbers
2013-10-15 16:35:23 +00:00
99ac89fc57
fixed more bugs in printf.c/printf.h
2013-10-14 16:33:21 +00:00
fde2e1a3b0
enhanced formatted output function
2013-10-12 17:04:21 +00:00
561dbe49f5
added qse_strjoin()/qse_strxjoin() and variants
2013-10-11 13:43:29 +00:00
e7b4e7012c
added experimental and incomplete xprintf function.
2013-09-30 14:55:58 +00:00
fd4f25d330
fixed a bug in xli reader
2013-09-27 16:19:44 +00:00
ef25755996
added QSE_XLI_KEYTAG
2013-09-25 06:40:40 +00:00
abcf8988a5
added QSE_XLI_STRTAG and changed related functions and defintions
2013-09-24 14:02:06 +00:00
84aca0ecb1
added QSE_XLI_NOLIST and QSE_XLI_NONIL
2013-09-23 14:06:25 +00:00
72fd080f70
added qse_getxlirootxtn(), QSE_XLI_ROOTXTNSIZE as well as the rootxtnsize parameter to multiple initialization functions
2013-09-20 07:18:26 +00:00
99d0e04879
added QSE_XLI_LEADDIGIT.
...
enhanced keyword and identifier scanning for xli
2013-09-17 01:28:04 +00:00
3d6f9af82b
added qse_freexliroot() and qse_xli_yeildroot().
...
changed qse_xli_getpairxtn() to qse_getxlipairxtn()
2013-09-16 14:32:50 +00:00
c1c1f203ee
added QSE_XLI_MULSEGSTR
2013-09-16 13:33:51 +00:00
cb170d2e7a
add QSE_XLI_PAIRXTNSIZE and qse_xli_getpairxtn()
2013-09-16 11:03:44 +00:00
7e98acf59f
added check for HAVE_LINUX_NETFILTER_IPV4_H
2013-09-13 07:14:08 +00:00
ab062079d6
added the check for sin6_scope_id
2013-09-13 06:42:07 +00:00
cad563503a
renamed QSE_MSTRTONUM()/QSE_WSTRTONUM() to QSE_MBSTONUM()/QSE_WCSTONUM()
2013-09-11 09:15:22 +00:00
822bcf3afb
enhanced get_highest_fd().
...
fixed an inifite looping bug in pio with posix_spawn() used
2013-09-11 09:14:29 +00:00
04e6df3dd8
enhanced qse_mbsxsubst() and qse_wcsxsubst() for buffer size prediction
2013-09-09 05:47:54 +00:00
88266f1b2e
updated Makefile.am
2013-09-08 17:27:54 +00:00
5734b05114
enhanced qse_strxsubst().
...
added qse_strxnsubst()
2013-09-08 17:26:43 +00:00
f1485520ea
deleted private fields from qse_httpd_task_t and created qse_httpd_real_task_t for better encapsulation
2013-08-24 15:16:20 +00:00
035a4329bd
deleted stx directories
2013-08-24 14:04:12 +00:00
d841c9f62f
changed awk to handle IGNORECASE with a regular expression engine that doesn't have a run-time option but has a compile-time option
2013-08-23 15:19:29 +00:00
47677ca566
minor touch-ups
2013-07-24 04:10:02 +00:00
d47976d218
fixed the error string table
2013-07-22 13:27:00 +00:00
462c891e1d
added qse_xli_insertpairwithstrs().
...
renamed qse_xli_getnumpairs() to qse_xli_countpairs().
reworked qse_xli_findpair() and qse_xli_countpairs()
2013-07-15 06:52:06 +00:00
2b58fc6fe3
added qse_xli_definepair() and qse_xli_undefinepair().
...
renamed some xli functions.
updated cmd/httpd to utilize qse_xli_definepair()
2013-07-12 15:37:29 +00:00
67c47e906d
started adding simple xli validation
2013-07-11 16:55:08 +00:00
2bccba995c
fixed a xli reader bug of not placing the comment text inside a proper list
2013-07-02 13:10:11 +00:00
d2505bdbcd
added code to accept a number as a xli value.
...
renamed pair->name to pair->alias and related functions.
enhanced xli reader to support string escaping
2013-07-01 15:16:19 +00:00
3e21bc4f98
made changes to clear errors before reading and writing xli
2013-07-01 09:29:08 +00:00
d8cb7f4ef1
fixed the xli writing bug of not writing multi-segment string properly and added qse_xli_clearwionames()
2013-07-01 09:26:39 +00:00
6f965a75d9
added qse_xli_dupflatstr() and renamed qse_xli_addnextsegtostr() to qse_xli_addsegtostr().
...
made relevant changes to cmd/httpd/httpd.c for the change of qse_xli_str_t
2013-07-01 09:10:13 +00:00
aeb9b79220
changed the structure of qse_xli_str_t. this breaks cmd/httpd/httpd.c
...
finished the xli output functions mostly
2013-06-29 17:01:32 +00:00