Commit Graph

  • 94343e46cc add mmap_readat Felix von Leitner 2016-07-14 16:19:47 +0000
  • 5d08980293 add pread test Felix von Leitner 2016-06-23 19:43:00 +0000
  • 8853a842f1 test for pread and use it instead of lseek+read in cdb and io_mmapwritefile Felix von Leitner 2016-06-23 19:42:13 +0000
  • 2fa4ba6e22 remove warning for crippled operating systems Felix von Leitner 2016-05-23 09:46:05 +0000
  • 5027027b8c osx Felix von Leitner 2016-05-23 09:44:14 +0000
  • 069f5c22c1 another gcc 6 warning fix compile on osx again remove asm version of i?mult64 (was needed only for clang because it didn't have __uint128_t, but it now has it) Felix von Leitner 2016-05-23 09:36:48 +0000
  • 9e3ba6e772 shut up new gcc 6 warnings Felix von Leitner 2016-04-27 14:07:49 +0000
  • d453330622 stupid sign extension Felix von Leitner 2016-04-25 19:23:50 +0000
  • ee08bd436c fix two issues found by clang's static analyser Felix von Leitner 2016-04-25 12:07:13 +0000
  • 5033d9a8b5 attempt to support FreeBSD Felix von Leitner 2016-04-07 12:08:05 +0000
  • 4065324c6e -fomit-leaf-frame-pointer was wrong even for gcc m( Felix von Leitner 2016-03-22 23:30:46 +0000
  • df1c4f3316 typo Felix von Leitner 2016-03-19 10:16:26 +0000
  • 4e443f71e5 gcc -> clang Felix von Leitner 2016-03-19 10:12:11 +0000
  • 81c4d3787d include <foo> -> include "foo" Felix von Leitner 2016-03-17 11:13:23 +0000
  • 50694f2403 -I. Felix von Leitner 2016-03-17 11:13:12 +0000
  • 44a4170065 #include <> to "" Felix von Leitner 2016-03-17 11:04:08 +0000
  • fd2ad91adf add base64url support (forgot header) compile byte/* with -O3 Felix von Leitner 2016-02-28 12:26:05 +0000
  • 4aee13bc9e add base64url support Felix von Leitner 2016-02-28 12:24:47 +0000
  • 290c70e3fa ar -> $(CROSS)ar Felix von Leitner 2016-01-27 18:59:38 +0000
  • 6c3e33a37b support $DESTDIR for make install targets Felix von Leitner 2016-01-27 15:55:55 +0000
  • 56207731de special case buffer_get_token with token length 1 through memccpy (almost 4x speedup) Felix von Leitner 2015-12-17 16:25:08 +0000
  • 25ceda0778 special case buffer_get_token with token length 1 through memccpy Felix von Leitner 2015-12-17 16:24:17 +0000
  • 3c20566f55 fix operator precedence Felix von Leitner 2015-12-15 14:11:35 +0000
  • 8cf357cc70 use static inline instead of extern inline Felix von Leitner 2015-12-04 12:11:57 +0000
  • a7929899ea add unistd.h Felix von Leitner 2015-11-23 01:56:23 +0000
  • c21bdfb2dd oops, did not actually flush the buffer Felix von Leitner 2015-11-19 13:43:57 +0000
  • 7e89f0fecb slight optimization for buffer_flush Felix von Leitner 2015-11-19 13:06:15 +0000
  • b9af5f3905 darwin compat Felix von Leitner 2015-11-11 08:04:00 +0000
  • 67299ca714 add socket_udp4b and socket_udp6b Felix von Leitner 2015-10-16 17:12:22 +0000
  • 8f64f1c9af add marshaling code for protocol buffers Felix von Leitner 2015-09-29 19:01:25 +0000
  • ec32c40bab add netstring formatter fix scan_netstring to actually correctly return the length of the transported string add documentation Felix von Leitner 2015-09-29 15:29:57 +0000
  • 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 Felix von Leitner 2015-09-29 14:42:40 +0000
  • 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! Felix von Leitner 2015-09-29 14:10:03 +0000
  • ea849e7ebf a few missing headers and minor fixes fix corking behavior for the case where a buffer follows a buffer in iob_send Felix von Leitner 2015-09-06 18:01:02 +0000
  • 33fcc42d09 add documentation Felix von Leitner 2015-05-13 21:43:45 +0000
  • 0784612aa2 fix timezone handling Felix von Leitner 2015-05-13 21:42:58 +0000
  • ba17f2b5df add scan_iso8601+test Felix von Leitner 2015-05-13 21:21:16 +0000
  • 5f90c12917 add fmt_iso8601 Felix von Leitner 2015-05-13 20:33:51 +0000
  • a9c1f9699e small buffer optimization fix botched noipv6 case in buffer_tcp6 Felix von Leitner 2015-04-23 15:15:08 +0000
  • 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) Felix von Leitner 2015-04-19 02:11:41 +0000
  • 06705bc327 remove dead store Felix von Leitner 2015-04-10 23:19:14 +0000
  • 247b2175c4 remove dead store Felix von Leitner 2015-04-10 23:18:47 +0000
  • 003d0b9835 remove dead store Felix von Leitner 2015-04-10 23:16:50 +0000
  • 25a1156f42 remove dead store Felix von Leitner 2015-04-10 23:15:59 +0000
  • b6952d4cbd also install critbit.h documentation clarification Felix von Leitner 2015-04-10 20:57:54 +0000
  • d26d50fc42 make critbit0_contains as pure Felix von Leitner 2015-04-09 23:35:40 +0000
  • d351fcf664 bump version Felix von Leitner 2015-04-09 20:26:12 +0000
  • 98e300970b update dependency Felix von Leitner 2015-04-09 19:06:39 +0000
  • d3b4a5073d add critbit Felix von Leitner 2015-04-09 19:05:32 +0000
  • 5b2ef494ef use xz instead of bz2 in make tar Felix von Leitner 2015-04-09 18:28:03 +0000
  • 14f694ef97 cleaner make clean Felix von Leitner 2015-04-09 18:26:44 +0000
  • 9b025b364f update Makefile Felix von Leitner 2015-04-09 18:25:35 +0000
  • 82388e1c23 SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio) Felix von Leitner 2015-04-09 18:23:23 +0000
  • 45251a3178 support noipv6 being set externally even when there is perfectly good IPv6 support. Felix von Leitner 2015-03-20 14:58:13 +0000
  • 0842216df2 damn it, fucked up the return value Felix von Leitner 2015-03-20 03:50:42 +0000
  • 4ed2a16293 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) Felix von Leitner 2015-03-20 03:34:37 +0000
  • 859b532662 if SOCK_NONBLOCK is defined, use it instead of socket+fcntl Felix von Leitner 2015-03-17 00:01:00 +0000
  • a965db504b mmap_read/mmap_shared on zero length files no longer fail but return a zero length buffer Felix von Leitner 2015-03-02 21:25:57 +0000
  • 083dc555f3 more constness for stralloc and buffer Felix von Leitner 2015-02-04 02:57:56 +0000
  • 6a74a47988 more updates Felix von Leitner 2014-12-27 13:39:20 +0000
  • 48a0c17fc7 better Makefile Felix von Leitner 2014-12-27 13:38:12 +0000
  • 39469857d6 add haveuint128.h as dependency to make dep Felix von Leitner 2014-11-01 20:52:48 +0000
  • 9a5e31966d add havealloca as dependency to dep Felix von Leitner 2014-11-01 20:51:54 +0000
  • 8640df0e04 hopefully fix the infinite loop in gatling Felix von Leitner 2014-10-19 01:52:36 +0000
  • a606013ffd remove compiler warning Felix von Leitner 2014-10-16 16:17:09 +0000
  • 1c9d7b0b30 add io_fd_flags so the caller can tell io_fd whether the socket is blocking (saves one fcntl syscall) Felix von Leitner 2014-10-09 09:02:28 +0000
  • 7392f7a011 get rid of io_starteventloop Felix von Leitner 2014-10-07 14:06:17 +0000
  • 63f5284e37 update Makefile Felix von Leitner 2014-10-07 14:04:54 +0000
  • 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) Felix von Leitner 2014-10-07 13:47:19 +0000
  • 62ec3d9b67 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE instead of write/writev + setsockopt TCP_CORK Felix von Leitner 2014-10-07 13:43:50 +0000
  • 051ed2e10d forgot to check in the actual code m( Felix von Leitner 2014-10-07 11:40:43 +0000
  • ad239137bf add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack Felix von Leitner 2014-10-07 11:40:21 +0000
  • b3b2c14973 add scan_html_tagarg Felix von Leitner 2014-09-17 13:58:59 +0000
  • 95999b640a scan_html forgot to output '<' when it did not know the tag coming in Felix von Leitner 2014-09-17 13:43:54 +0000
  • 3f0fa50edc add fmt_html_tagarg, fmt_xml Felix von Leitner 2014-09-16 15:41:35 +0000
  • fa5ffbb19b fix buffer_get Felix von Leitner 2014-09-15 21:00:54 +0000
  • aedf1016c1 revert to level triggering for epoll (forgot io_wantread) Felix von Leitner 2014-09-09 13:48:04 +0000
  • d79bd625f1 also install compiletimeassert.h Felix von Leitner 2014-09-03 11:51:44 +0000
  • 51b2c32c72 fix copy/paste error Felix von Leitner 2014-09-03 11:15:21 +0000
  • c7654a4040 also mention scan_ip6if(3) Felix von Leitner 2014-09-01 10:41:00 +0000
  • 1de8f45d8a revert edge triggering epoll; it had reliability and fairness issues and was also not actually faster Felix von Leitner 2014-08-28 19:03:57 +0000
  • d86346ba72 documented wrong return type Felix von Leitner 2014-08-24 15:19:33 +0000
  • 18d9655ca4 add more comments Felix von Leitner 2014-06-30 11:40:52 +0000
  • 7f5a729a1a add helpful #define HAVE_EAGAIN_READWRITE Felix von Leitner 2014-06-05 20:47:09 +0000
  • d8da202a8b introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) Felix von Leitner 2014-06-05 20:43:01 +0000
  • 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 Felix von Leitner 2014-06-05 19:17:24 +0000
  • 7102b7cb7e fix and document iarray Felix von Leitner 2014-06-05 16:31:06 +0000
  • 44bcab1661 finish epoll move to edge triggering Felix von Leitner 2014-05-08 04:25:42 +0000
  • 9ed80b2d0e fix some bugs that cppcheck found Felix von Leitner 2014-05-07 23:51:24 +0000
  • e796d5bdbc better comment Felix von Leitner 2014-04-23 13:44:52 +0000
  • ad7268e0d7 catch not enough bytes in input buffer case Felix von Leitner 2014-04-23 13:40:23 +0000
  • 482fb6cba4 remove superfluous &0x7f Felix von Leitner 2014-04-23 11:54:24 +0000
  • cecb514e25 on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually return a sockaddr with family PF_INET. WTF? Work around that. Felix von Leitner 2014-04-19 17:45:14 +0000
  • d308e8274a check value to large error for asn1derlength Felix von Leitner 2014-04-19 15:35:30 +0000
  • 2837d39ba6 much shorter way to do the same thing Felix von Leitner 2014-04-15 20:36:50 +0000
  • 6a4ceca9c0 for asn1derlength: save a few bytes for asn1dertag: catch too-large-value overflow Felix von Leitner 2014-04-15 20:12:50 +0000
  • c90a757f45 reject non-minimally encoded ASN.1 DER data split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue Felix von Leitner 2014-04-15 18:52:21 +0000
  • f6eaee11dd remove io_starteventloop Felix von Leitner 2014-04-10 21:01:58 +0000
  • b3a8ef4367 update Makefile Felix von Leitner 2014-04-10 20:53:49 +0000
  • 88b4a6cebd change return type to void Felix von Leitner 2014-04-10 20:50:53 +0000