Commit Graph

3698 Commits

Author SHA1 Message Date
21e289aca7 fixed a race condition issue in TcpServer::stop() 2018-10-28 15:49:46 +00:00
b57af4a2ef added TcpServer::Worker::getSocket()
added SkvEnv::getItemList()
2018-10-28 14:55:47 +00:00
2d7ca5b5d0 removed :: before sigfillset as gcc on darwin ended up with errors 2018-10-27 10:18:01 +00:00
ebe0ac92bf enhanced Socket::send where IP_SENDSRCADDR is available 2018-10-25 06:56:27 +00:00
b8ef500278 fixed some spacing 2018-10-24 14:58:14 +00:00
969a03b3c3 added Socket::send() that accepts the source address and sends with sendmsg with IP_PKTINFO/IP6_PKTINFO. 2018-10-24 08:41:56 +00:00
c56088d21a fixed a bug in qse_dhcp6_find_option()
renamed SocketAddress::setIpaddr to setIp6addr/setIp4addr
2018-10-23 09:13:28 +00:00
95a41ab8a1 added Socket::getSockName() and Socket::getPeerName() 2018-10-23 03:51:47 +00:00
6130d3cdfe excluded all netlink code from non-linux builds 2018-10-23 02:10:24 +00:00
41cb5bb869 restored include/qse/si/Makefile.in 2018-10-22 14:12:07 +00:00
f91e8c3170 added Socket::send() that accept a data vector 2018-10-22 14:10:37 +00:00
1e08cd4f65 added Socket::sendx() that accept a buffer vector and a destination address 2018-10-22 09:42:54 +00:00
83f800799d fixed a wrong internal function name in netlink.c again 2018-10-22 03:54:38 +00:00
91a4b8b9b0 fixed a wrong internal function name in netlink.c 2018-10-22 03:53:18 +00:00
ea85e91391 corrected wrong use of O_CLOEXEC and FD_CLOEXEC in some files 2018-10-22 03:46:19 +00:00
54cd5401d5 added netlink files to Makefile.am 2018-10-22 02:27:34 +00:00
4d61e98172 copied netlink.h and netlink.c from musl 2018-10-21 16:53:41 +00:00
1758ba4e1e fixed Sttp to return T_EOF when EOF is reached 2018-10-21 16:36:03 +00:00
942f33d8d4 added App::isGuardian() 2018-10-20 03:36:40 +00:00
5e35f69abb added several functions into Socket that accepts a length-bounded interface name 2018-10-19 08:28:12 +00:00
1456f94bd1 fixed wrong #ifdefs in nwif.c 2018-10-18 23:46:50 +00:00
7762a0bc90 changed fcntl to ::fcntl in Socket.cpp 2018-10-18 23:35:56 +00:00
d533112788 added Socket::bindToIfce() 2018-10-18 23:29:20 +00:00
d3ed032636 added +int Socket::bindToIfceAddr() 2018-10-18 10:37:00 +00:00
05c2905a0a added Socket::joinMulticastGroup() and Socket::leaveMulticastGroup() 2018-10-18 07:30:25 +00:00
72345c7280 changed length check in Socket::getIfceIfindex() functions 2018-10-17 15:21:48 +00:00
5b529ad535 added Socket::getIfceIndex(), Socket::getIfceAddress(), etc 2018-10-17 14:20:32 +00:00
4a10c5d7cd added QSE_CLI_DISCRETIONARY_OPTVAL.
renamed QSE_CLI_OPTVAL to QSE_CLI_REQUIRE_OPTVAL
renamed QSE_CLI_OPTNAME to QSE_CLI_REQUIRE_OPTNAME
2018-10-17 08:07:45 +00:00
e936bf3502 added qse_ip6adxx_t with address classification functions
defined data types and routines and dhcpv6 messages
2018-10-16 15:59:24 +00:00
2915a591f0 added qse_str_to_ntime() and similar functions.
relocated cli error codes into the new enum type qse_cli_error_code_t
2018-10-16 15:53:08 +00:00
80ceed7bb2 fixed the name of the second parameter in declaration of qse_dhcp4_find_option() 2018-09-28 16:32:36 +00:00
5743a341cc changed the second parameter of qse_awk_rtx_strtonum() to accept the base value on top of the 'strict' conversion bit.
enhanced awk's str::tonum() to accept the optional base parameter
2018-09-26 05:41:37 +00:00
eb79fa721f removed unneeded semicolons at the back of qse_strxcat macros 2018-09-21 14:28:23 +00:00
a9d5a27d43 fixed more flaws in the sample programs 2018-09-18 09:15:31 +00:00
953bb70a56 fixed minor flaws in some sample programs 2018-09-18 09:02:00 +00:00
9f07886166 changed App::guardProcess() to return the number of respawn attempts, capped at INT_MAX 2018-09-17 10:11:57 +00:00
016e7da24a added App::sleep() 2018-09-17 02:51:52 +00:00
3a66a8d927 redefined some time macros selectively 2018-09-16 17:04:00 +00:00
c467a28f18 renamed some signal handling functions in the App class 2018-09-13 06:51:48 +00:00
c09a0161eb renamed qse_runmain() to qse_run_main() 2018-09-13 03:16:23 +00:00
0dd7cc2d65 enhanded guardProcess() with setpgid() and kill() 2018-09-11 15:11:48 +00:00
1218015572 stablized the signal functions in the App class 2018-09-10 14:15:28 +00:00
9764d448af attempted to fix various problems related to signals in App 2018-09-09 17:22:16 +00:00
7bfba716f6 added basic methods to Bitset 2018-09-08 05:15:51 +00:00
1c996b5d95 added the initial BitSet class without actual code 2018-09-07 11:27:15 +00:00
5f29d1670f improving signal handling of the App class 2018-09-06 09:59:54 +00:00
e8804b20ec added a very simple App::guardProcess() function 2018-09-05 14:52:51 +00:00
6f314b0dd8 added mutex protection to input functions in sio 2018-09-05 14:06:19 +00:00
8bbef694f9 removed redundant tab letters 2018-09-04 15:10:15 +00:00
f93bf8d053 fixed bugs in mutex protection in sio.
added qse_open_stdsios_with_flags
2018-09-04 15:07:42 +00:00