755 Commits (32a312b8f139080257b4662ccf8c9e88b46e97ca)
 

Author SHA1 Message Date
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 fb1f19042f support gcc 5 builtins for multiplication overflow in safemult.h
fix copypasted comment in fmt_asn1dertag
add man pages for add_of, sub_of and assign
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 7bdc1b29bb a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
9 years ago
leitner cdecd16ab3 add documentation 10 years ago
leitner e5865bcc52 fix timezone handling 10 years ago
leitner ac6979e4af add scan_iso8601+test 10 years ago
leitner ad5ce55281 add fmt_iso8601 10 years ago
leitner 695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
10 years ago
leitner 214ad3a92e use gcc magic and a #define to convert buffer_puts to buffer_put if the
string argument length is known at compile time (same for
buffer_putsflush)
10 years ago
leitner fce165fdcb remove dead store 10 years ago
leitner c523dcbc48 also install critbit.h
documentation clarification
10 years ago
leitner 1b3e55485b make critbit0_contains as pure 10 years ago
leitner 3dff6a2630 bump version 10 years ago
leitner 6d4c3850d6 update dependency 10 years ago
leitner 8a6186ba03 add critbit 10 years ago
leitner 42eb4c9830 use xz instead of bz2 in make tar 10 years ago
leitner 12caae78b2 cleaner make clean 10 years ago
leitner 10affedd80 update Makefile 10 years ago
leitner 79f534ffdf SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio) 10 years ago
leitner d0e735e2c2 support noipv6 being set externally even when there is perfectly good
IPv6 support.
10 years ago
leitner 1856c8a2d7 damn it, fucked up the return value 10 years ago
leitner 6e022f98c9 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) 10 years ago
leitner 35f5a9692a if SOCK_NONBLOCK is defined, use it instead of socket+fcntl 10 years ago
leitner a255cebc57 mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
10 years ago
leitner ed93e203a1 more constness for stralloc and buffer 10 years ago
leitner 38ea25fd9f more updates 10 years ago
leitner 3d9452738b better Makefile 10 years ago
leitner f07562d857 add haveuint128.h as dependency to make dep 10 years ago
leitner ba56a8c350 add havealloca as dependency to dep 10 years ago
leitner c60c2425ce hopefully fix the infinite loop in gatling 10 years ago
leitner 193dfba16b remove compiler warning 10 years ago
leitner 4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
10 years ago
leitner 7dadd4e7c3 get rid of io_starteventloop 10 years ago
leitner c785fff258 update Makefile 10 years ago
leitner 3885650d81 on 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)
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 a691887e75 forgot to check in the actual code m( 10 years ago
leitner 88167b5ce1 add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack 10 years ago
leitner 8bdf66a1f5 add scan_html_tagarg 10 years ago
leitner 1d723c8da4 scan_html forgot to output '<' when it did not know the tag coming in 10 years ago
leitner 0aa50a19a4 add fmt_html_tagarg, fmt_xml 10 years ago
leitner 7c5d119f9a fix buffer_get 10 years ago
leitner 4404ab35f3 revert to level triggering for epoll (forgot io_wantread) 10 years ago
leitner f278f9c049 also install compiletimeassert.h 10 years ago
leitner 595a01fb1b fix copy/paste error 10 years ago
leitner dc4d204f4e also mention scan_ip6if(3) 10 years ago
leitner 967e3ce019 revert edge triggering epoll; it had reliability and fairness issues and
was also not actually faster
10 years ago
leitner 8b3eb0be7c documented wrong return type 10 years ago