766 Commits (b9af5f3905f26351d57173c32c60fc5abc77b4b4)
 

Author SHA1 Message Date
Felix von Leitner b9af5f3905 darwin compat 8 years ago
Felix von Leitner 67299ca714 add socket_udp4b and socket_udp6b 8 years ago
Felix von Leitner 8f64f1c9af add marshaling code for protocol buffers 8 years ago
Felix von Leitner ec32c40bab add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
8 years ago
Felix von Leitner 3ccdc6055a 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
8 years ago
Felix von Leitner bc76923c24 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!
8 years ago
Felix von Leitner ea849e7ebf a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
8 years ago
Felix von Leitner 33fcc42d09 add documentation 8 years ago
Felix von Leitner 0784612aa2 fix timezone handling 8 years ago
Felix von Leitner ba17f2b5df add scan_iso8601+test 8 years ago
Felix von Leitner 5f90c12917 add fmt_iso8601 8 years ago
Felix von Leitner a9c1f9699e small buffer optimization
fix botched noipv6 case in buffer_tcp6
8 years ago
Felix von Leitner f2b0c2fb95 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)
8 years ago
Felix von Leitner 06705bc327 remove dead store 8 years ago
Felix von Leitner 247b2175c4 remove dead store 8 years ago
Felix von Leitner 003d0b9835 remove dead store 8 years ago
Felix von Leitner 25a1156f42 remove dead store 8 years ago
Felix von Leitner b6952d4cbd also install critbit.h
documentation clarification
8 years ago
Felix von Leitner d26d50fc42 make critbit0_contains as pure 8 years ago
Felix von Leitner d351fcf664 bump version 8 years ago
Felix von Leitner 98e300970b update dependency 8 years ago
Felix von Leitner d3b4a5073d add critbit 8 years ago
Felix von Leitner 5b2ef494ef use xz instead of bz2 in make tar 8 years ago
Felix von Leitner 14f694ef97 cleaner make clean 8 years ago
Felix von Leitner 9b025b364f update Makefile 8 years ago
Felix von Leitner 82388e1c23 SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio) 8 years ago
Felix von Leitner 45251a3178 support noipv6 being set externally even when there is perfectly good
IPv6 support.
8 years ago
Felix von Leitner 0842216df2 damn it, fucked up the return value 8 years ago
Felix von Leitner 4ed2a16293 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) 8 years ago
Felix von Leitner 859b532662 if SOCK_NONBLOCK is defined, use it instead of socket+fcntl 8 years ago
Felix von Leitner a965db504b mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
8 years ago
Felix von Leitner 083dc555f3 more constness for stralloc and buffer 8 years ago
Felix von Leitner 6a74a47988 more updates 9 years ago
Felix von Leitner 48a0c17fc7 better Makefile 9 years ago
Felix von Leitner 39469857d6 add haveuint128.h as dependency to make dep 9 years ago
Felix von Leitner 9a5e31966d add havealloca as dependency to dep 9 years ago
Felix von Leitner 8640df0e04 hopefully fix the infinite loop in gatling 9 years ago
Felix von Leitner a606013ffd remove compiler warning 9 years ago
Felix von Leitner 1c9d7b0b30 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
9 years ago
Felix von Leitner 7392f7a011 get rid of io_starteventloop 9 years ago
Felix von Leitner 63f5284e37 update Makefile 9 years ago
Felix von Leitner 4cb8ad91f0 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)
9 years ago
Felix von Leitner 62ec3d9b67 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE
instead of write/writev + setsockopt TCP_CORK
9 years ago
Felix von Leitner 051ed2e10d forgot to check in the actual code m( 9 years ago
Felix von Leitner ad239137bf add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack 9 years ago
Felix von Leitner b3b2c14973 add scan_html_tagarg 9 years ago
Felix von Leitner 95999b640a scan_html forgot to output '<' when it did not know the tag coming in 9 years ago
Felix von Leitner 3f0fa50edc add fmt_html_tagarg, fmt_xml 9 years ago
Felix von Leitner fa5ffbb19b fix buffer_get 9 years ago
Felix von Leitner aedf1016c1 revert to level triggering for epoll (forgot io_wantread) 9 years ago