3885650d81on Linux, in iob_send, if MSG_MORE is defined, and the request type lends itself to it, used sendto/sendmsg with MSG_MORE instead of TCP_CORK (saves two syscalls)
leitner
2014-10-07 13:47:19 +0000
953eb639b2on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE instead of write/writev + setsockopt TCP_CORK
leitner
2014-10-07 13:43:50 +0000
a691887e75forgot to check in the actual code m(
leitner
2014-10-07 11:40:43 +0000
88167b5ce1add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack
leitner
2014-10-07 11:40:21 +0000
39e7ee90bbintroduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz)
leitner
2014-06-05 20:43:01 +0000
d9cbb3940cit turns out you don't need -1/EGAIN to know edge triggering told you there is no more data, it's enough to read/write less than you asked for
leitner
2014-06-05 19:17:24 +0000
f3c0e69988fix and document iarray
leitner
2014-06-05 16:31:06 +0000
5baf943f0afinish epoll move to edge triggering
leitner
2014-05-08 04:25:42 +0000
0f6e586fc9fix some bugs that cppcheck found
leitner
2014-05-07 23:51:24 +0000
8581b74a84on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually return a sockaddr with family PF_INET. WTF? Work around that.
leitner
2014-04-19 17:45:14 +0000
63b08692d0check value to large error for asn1derlength
leitner
2014-04-19 15:35:30 +0000
cf1406735cmuch shorter way to do the same thing
leitner
2014-04-15 20:36:50 +0000
708c358a74for asn1derlength: save a few bytes for asn1dertag: catch too-large-value overflow
leitner
2014-04-15 20:12:50 +0000
24d1ccb1b7reject non-minimally encoded ASN.1 DER data split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue
leitner
2014-04-15 18:52:21 +0000
74d676fc62fix typo in man page make use of __uint128_t in scan_ulongn and provide long long based implementation for 32-bit platforms
leitner
2014-03-15 16:04:55 +0000
9b6671efeeadd buffer_tosa check to marshal.c failed attempt to improve scan_ulongn, results in essentially same code but the C code looks slighly better so I'm keeping it
leitner
2014-03-15 15:18:55 +0000
01ffc04006do proper early abort in the other scan_* routines if the numeric value is too large
leitner
2014-03-14 00:24:02 +0000
35942878c2$ make WERROR=-Werror now builds with -Werror add some single char escaping routines to fmt.h pull in html5 entities from w3c and use those to do a proper scan_html decoding fix an off-by-one in fmt_to_array add a ton of unit tests for the fmt routines
leitner
2014-03-13 22:25:20 +0000
dd4f86fbfaadd some unit tests for the formatting routines
leitner
2014-02-25 18:59:20 +0000
73db80daecget rid of some compiler warnings
leitner
2014-02-25 18:39:59 +0000
35382a430eif called with srclen > maxlen, return maxlen not srclen
leitner
2014-02-25 18:36:36 +0000
21d0ea4549if srclen>maxlen, truncate at maxlen
leitner
2014-02-25 18:28:06 +0000
a85bfc1b81fmt_strn aborted one byte too late
leitner
2014-02-25 18:27:30 +0000
fb5bd841a8| not +
leitner
2014-02-25 17:51:29 +0000
1d2add208fadd json encoding routines to textcode
leitner
2014-01-28 16:12:39 +0000
e175800a8cadd io_fd_canwrite (like io_fd but assume the fd is writable) save a few syscalls here and there
leitner
2012-04-10 21:15:51 +0000
6e6fc8b85dfix endless loop bug on freebsd
leitner
2012-03-19 02:38:52 +0000
6185645a35add trivial compare-and-swap test
leitner
2012-02-24 02:26:29 +0000
662bd78aa4fix return value
leitner
2012-02-24 02:26:11 +0000
2a86a4e789win32 cross compile fix for iarray
leitner
2012-02-24 02:01:27 +0000
c2a2a15c12document the return value expected from the callback given to iob_write remove unused #include in iob_reset if iob_addfile_close fails, it now closes the fd if iob_addbuf_munmap fails, it now munmaps the buf if iob_addbuf_free fails, it now frees the buf some win32 cross-compile fixes for iarray
leitner
2012-02-24 02:00:52 +0000
4f1e1d300cmake headers work in C++ add two more variable length integer encoding functions
leitner
2012-02-07 17:02:40 +0000
d17c2d1012add functions to encode and decode integers in variable length binary formats
leitner
2012-02-06 07:59:56 +0000
ad6c2d9ce7add functions to encode and decode variable length integers in binary
leitner
2012-02-06 07:55:48 +0000