795 Commits (25835d0c1d537176cb7785040ddcf8512f1804a7)
 

Author SHA1 Message Date
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 8 years ago
Felix von Leitner 48a0c17fc7 better Makefile 8 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
Felix von Leitner d79bd625f1 also install compiletimeassert.h 9 years ago
Felix von Leitner 51b2c32c72 fix copy/paste error 9 years ago
Felix von Leitner c7654a4040 also mention scan_ip6if(3) 9 years ago
Felix von Leitner 1de8f45d8a revert edge triggering epoll; it had reliability and fairness issues and
was also not actually faster
9 years ago
Felix von Leitner d86346ba72 documented wrong return type 9 years ago
Felix von Leitner 18d9655ca4 add more comments 9 years ago
Felix von Leitner 7f5a729a1a add helpful #define HAVE_EAGAIN_READWRITE 9 years ago
Felix von Leitner d8da202a8b introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) 9 years ago
Felix von Leitner 03df1685ba it turns out you don't need -1/EGAIN to know edge triggering told you
there is no more data, it's enough to read/write less than you asked for
9 years ago
Felix von Leitner 7102b7cb7e fix and document iarray 9 years ago
Felix von Leitner 44bcab1661 finish epoll move to edge triggering 9 years ago
Felix von Leitner 9ed80b2d0e fix some bugs that cppcheck found 9 years ago
Felix von Leitner e796d5bdbc better comment 9 years ago
Felix von Leitner ad7268e0d7 catch not enough bytes in input buffer case 9 years ago
Felix von Leitner 482fb6cba4 remove superfluous &0x7f 9 years ago
Felix von Leitner cecb514e25 on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually
return a sockaddr with family PF_INET.  WTF?  Work around that.
9 years ago
Felix von Leitner d308e8274a check value to large error for asn1derlength 9 years ago
Felix von Leitner 2837d39ba6 much shorter way to do the same thing 9 years ago
Felix von Leitner 6a4ceca9c0 for asn1derlength: save a few bytes
for asn1dertag: catch too-large-value overflow
9 years ago
Felix von Leitner c90a757f45 reject non-minimally encoded ASN.1 DER data
split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue
9 years ago
Felix von Leitner f6eaee11dd remove io_starteventloop 9 years ago