Commit Graph

872 Commits (8b0450cd29bfc1ced38510f2a86c089341a8dec1)
 

Author SHA1 Message Date
leitner 8b0450cd29 some old glibc may define MSG_ZEROCOPY but not SO_ZEROCOPY :-(
leitner 261420b7b6 the glibc case of the new __writememsz__ and friends macros broke
leitner 8a8109f27e support gcc 10's access attribute when compiling with dietlibc
leitner 8bf1af6122 make mmap_private on Windows work on read-only files, too
leitner 71f52a7148 add some comments
leitner 6a71cd9a91 add libowfat/ to includes
leitner 77a2bbd17a half-hearted improvements to Windows compilability
leitner 3aef1c2faa half-hearted Windows compilability improvements
leitner 278a675a69 bsd fix
leitner 14df96bc34 less warnings
leitner 5c7270190b scan_utf8_sem
leitner 9e07364ad3 another attempt
leitner 7bb7679563 make headers fix for bsd make
leitner 97368fbfa6 BSD build fix (hopefully)
move more #include to <libowfat/...>
leitner dbd1f990c8 be less restrictive (RFC says NUL CR and LF need to be escaped)
leitner 421df2174c systems without fastopen support return EPIPE
leitner 27331bbc10 version bump
leitner fa9c86e8d8 update Makefile
leitner 533195b16f add unit test
leitner 8714ae112d mention that the str_copy return value does not include the \0
add unit test
leitner 2d78cb8406 fix unit test for fmt_escapecharc
add unit tests for fmt_xmlescape
leitner c857c95f06 s/write/writev/
leitner 50a03e6b6f add make pic
leitner 1137831ddd make fastopen fall back to connect if len==0
leitner 3873bab74b add stralloc_APPEND
use atomic updates for iom->working
leitner a8fa432152 minimal demonstrator program for iom api
leitner ce595ae0cc add experimental iom API for multithreaded I/O multiplexing (in io.h)
leitner b3bccb9d88 #include_next no longer needed
leitner 94feba3667 use write in buffer_put for a slight perf improvement
leitner d4d9b091ef add rmdir
leitner 708e34ab7f don't escape poop emoji (emit as utf8 instead)
if input is not valid utf8, encode each invalid byte as utf8 in output
leitner 112ccf19e7 zero-terminate utf8 strings in ent
leitner ed67042965 undo freebsd fix, does not compile
leitner 2cc0eec6cc #define _POSIX_SOURCE for FreeBSD
leitner 3b44408747 jsonescape
leitner 30952a7e96 wtf
leitner b1d44d62dd update Makefile
leitner 2aceb52138 remove warning
leitner e4a2f4d068 compile if MSG_ZEROCOPY is not defined by libc
leitner f8c4132df0 add MSG_ZEROCOPY support (only used for buffers >8k)
leitner 2bb35a6106 support __builtin_swap16 and __builtin_swap32
leitner e0ee49ba2e fix fmt_ip6 (Erwin Hoffmann)
leitner 5a803f3e7c update man pages
leitner 61db2acee6 no :: at the end if it's only :0
leitner a4a2aed3de fmt_ip6 was violating rfc5952 section 4.2.2
leitner 928da70f1d add man pages for scan_urlencoded*
leitner 42a78bb04e man page and unit tests for scan_hexdump
leitner c8156a9841 add man page and unit tests for scan_base64url
leitner 8d449d442b don't write one more byte in error case
leitner 527e2e7c5b add unit tests and man page for scan_ldapescape