143 Commits (master)

Author SHA1 Message Date
leitner ae3749aa31 test client and server for iom 5 months ago
leitner 5dbad67352 autofree mode for io_batch 5 months ago
leitner 6f8e168ae3 proper return value handling 5 months ago
leitner 962bcbd917 more apple 5 months ago
leitner 3003b1cfba applify iom test 5 months ago
leitner 0dbac6ba02 remove unaligned write for #ifdef i386 (it was technically undefined
behavior and the compiler is now smart enough to turn the more elaborate
code into a single store)
8 months ago
leitner 6a71cd9a91 add libowfat/ to includes 5 years ago
leitner a8fa432152 minimal demonstrator program for iom api 7 years ago
leitner 94feba3667 use write in buffer_put for a slight perf improvement 7 years ago
leitner a4a2aed3de fmt_ip6 was violating rfc5952 section 4.2.2 7 years ago
leitner 14f26729e9 add scan_utf8_sem
add utf8 test suite
8 years ago
leitner 41db97d380 improve json escape decoder, add test suite 8 years ago
leitner a1f1986247 include <foo> -> include "foo" 9 years ago
leitner 7f829a36bc add base64url support 9 years ago
leitner 32a312b8f1 add marshaling code for protocol buffers 9 years ago
leitner 6859c4b6ca add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
9 years ago
leitner 6cfc16fc40 add gcc 5 integer overflow intrinsics support to rangecheck.h
in the process, identify a gnarly problem that was not only not found by
  the test suite, there was a test testing for the wrong behavior!
9 years ago
leitner e5865bcc52 fix timezone handling 9 years ago
leitner ac6979e4af add scan_iso8601+test 9 years ago
leitner ad5ce55281 add fmt_iso8601 9 years ago
leitner 38ea25fd9f more updates 10 years ago
leitner 953eb639b2 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE
instead of write/writev + setsockopt TCP_CORK
10 years ago
leitner 39e7ee90bb introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) 10 years ago
leitner 0f6e586fc9 fix some bugs that cppcheck found 11 years ago
leitner 4ecc33dcea catch not enough bytes in input buffer case 11 years ago
leitner 63b08692d0 check value to large error for asn1derlength 11 years ago
leitner 708c358a74 for asn1derlength: save a few bytes
for asn1dertag: catch too-large-value overflow
11 years ago
leitner 24d1ccb1b7 reject non-minimally encoded ASN.1 DER data
split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue
11 years ago
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner 9b6671efee add 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
11 years ago
leitner 08ba483bfb catch other potential overflow 11 years ago
leitner 4a04c40595 get rid of more -Wconversion warnings 11 years ago
leitner f7fee036c1 SECURITY: check for integer overflow in stralloc_ready 11 years ago
leitner 539ef564ab add unit tests for uint* 11 years ago
leitner e1081e4b13 remove -Wconversion warnings 11 years ago
leitner 18afec7d68 scan_*longlong now properly abort if the number would not fit 11 years ago
leitner 01ffc04006 do proper early abort in the other scan_* routines if the numeric value
is too large
11 years ago
leitner 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
11 years ago
leitner dd4f86fbfa add some unit tests for the formatting routines 11 years ago
leitner 45702476e7 add scan_netstring 11 years ago
leitner e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
13 years ago
leitner 6185645a35 add trivial compare-and-swap test 13 years ago
leitner 25f6b4640a remove warning 15 years ago
leitner bb9cdaaafb add iarray 16 years ago
leitner 25912d79cb one more test 16 years ago
leitner 6d4c89ea72 byte_zero is also miscompiled by gcc 4.3.2 16 years ago
leitner 97ac873038 gcc 4.3.1 generates bad code for byte_copy, so I'm switching to a
simpler version
16 years ago
leitner 6fd49579e8 forgot to add message in httperror 16 years ago
leitner a8a5e9a3d5 some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
17 years ago
leitner 58a07defd7 add uint64 pack and unpack routines 17 years ago