Commit Graph

960 Commits (32f02d34fce9f52ce4be21eef564eb82f60e7b27)
 

Author SHA1 Message Date
leitner 774a4b6714 add unistd.h
leitner 685ebdfb80 oops, did not actually flush the buffer
leitner a0cde0fee9 slight optimization for buffer_flush
leitner 189d8bad1d darwin compat
leitner f74f9b9b25 add socket_udp4b and socket_udp6b
leitner 32a312b8f1 add marshaling code for protocol buffers
leitner 6859c4b6ca add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
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
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!
leitner 7bdc1b29bb a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
leitner cdecd16ab3 add documentation
leitner e5865bcc52 fix timezone handling
leitner ac6979e4af add scan_iso8601+test
leitner ad5ce55281 add fmt_iso8601
leitner 695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
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)
leitner fce165fdcb remove dead store
leitner c523dcbc48 also install critbit.h
documentation clarification
leitner 1b3e55485b make critbit0_contains as pure
leitner 3dff6a2630 bump version
leitner 6d4c3850d6 update dependency
leitner 8a6186ba03 add critbit
leitner 42eb4c9830 use xz instead of bz2 in make tar
leitner 12caae78b2 cleaner make clean
leitner 10affedd80 update Makefile
leitner 79f534ffdf SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio)
leitner d0e735e2c2 support noipv6 being set externally even when there is perfectly good
IPv6 support.
leitner 1856c8a2d7 damn it, fucked up the return value
leitner 6e022f98c9 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney)
leitner 35f5a9692a if SOCK_NONBLOCK is defined, use it instead of socket+fcntl
leitner a255cebc57 mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
leitner ed93e203a1 more constness for stralloc and buffer
leitner 38ea25fd9f more updates
leitner 3d9452738b better Makefile
leitner f07562d857 add haveuint128.h as dependency to make dep
leitner ba56a8c350 add havealloca as dependency to dep
leitner c60c2425ce hopefully fix the infinite loop in gatling
leitner 193dfba16b remove compiler warning
leitner 4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
leitner 7dadd4e7c3 get rid of io_starteventloop
leitner c785fff258 update Makefile
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)
leitner 953eb639b2 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE
instead of write/writev + setsockopt TCP_CORK
leitner a691887e75 forgot to check in the actual code m(
leitner 88167b5ce1 add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack
leitner 8bdf66a1f5 add scan_html_tagarg
leitner 1d723c8da4 scan_html forgot to output '<' when it did not know the tag coming in
leitner 0aa50a19a4 add fmt_html_tagarg, fmt_xml
leitner 7c5d119f9a fix buffer_get
leitner 4404ab35f3 revert to level triggering for epoll (forgot io_wantread)