Commit Graph

  • 3d9452738b better Makefile leitner 2014-12-27 13:38:12 +0000
  • f07562d857 add haveuint128.h as dependency to make dep leitner 2014-11-01 20:52:48 +0000
  • ba56a8c350 add havealloca as dependency to dep leitner 2014-11-01 20:51:54 +0000
  • c60c2425ce hopefully fix the infinite loop in gatling leitner 2014-10-19 01:52:36 +0000
  • 193dfba16b remove compiler warning leitner 2014-10-16 16:17:09 +0000
  • 4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking (saves one fcntl syscall) leitner 2014-10-09 09:02:28 +0000
  • 7dadd4e7c3 get rid of io_starteventloop leitner 2014-10-07 14:06:17 +0000
  • c785fff258 update Makefile leitner 2014-10-07 14:04:54 +0000
  • 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 2014-10-07 13:47:19 +0000
  • 953eb639b2 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE instead of write/writev + setsockopt TCP_CORK leitner 2014-10-07 13:43:50 +0000
  • a691887e75 forgot to check in the actual code m( leitner 2014-10-07 11:40:43 +0000
  • 88167b5ce1 add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack leitner 2014-10-07 11:40:21 +0000
  • 8bdf66a1f5 add scan_html_tagarg leitner 2014-09-17 13:58:59 +0000
  • 1d723c8da4 scan_html forgot to output '<' when it did not know the tag coming in leitner 2014-09-17 13:43:54 +0000
  • 0aa50a19a4 add fmt_html_tagarg, fmt_xml leitner 2014-09-16 15:41:35 +0000
  • 7c5d119f9a fix buffer_get leitner 2014-09-15 21:00:54 +0000
  • 4404ab35f3 revert to level triggering for epoll (forgot io_wantread) leitner 2014-09-09 13:48:04 +0000
  • f278f9c049 also install compiletimeassert.h leitner 2014-09-03 11:51:44 +0000
  • 595a01fb1b fix copy/paste error leitner 2014-09-03 11:15:21 +0000
  • dc4d204f4e also mention scan_ip6if(3) leitner 2014-09-01 10:41:00 +0000
  • 967e3ce019 revert edge triggering epoll; it had reliability and fairness issues and was also not actually faster leitner 2014-08-28 19:03:57 +0000
  • 8b3eb0be7c documented wrong return type leitner 2014-08-24 15:19:33 +0000
  • 798c06a785 add more comments leitner 2014-06-30 11:40:52 +0000
  • 25d9c5a6c7 add helpful #define HAVE_EAGAIN_READWRITE leitner 2014-06-05 20:47:09 +0000
  • 39e7ee90bb introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) leitner 2014-06-05 20:43:01 +0000
  • d9cbb3940c 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 leitner 2014-06-05 19:17:24 +0000
  • f3c0e69988 fix and document iarray leitner 2014-06-05 16:31:06 +0000
  • 5baf943f0a finish epoll move to edge triggering leitner 2014-05-08 04:25:42 +0000
  • 0f6e586fc9 fix some bugs that cppcheck found leitner 2014-05-07 23:51:24 +0000
  • 6d18d4ecc3 better comment leitner 2014-04-23 13:44:52 +0000
  • 4ecc33dcea catch not enough bytes in input buffer case leitner 2014-04-23 13:40:23 +0000
  • 8106f8c5a6 remove superfluous &0x7f leitner 2014-04-23 11:54:24 +0000
  • 8581b74a84 on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually return a sockaddr with family PF_INET. WTF? Work around that. leitner 2014-04-19 17:45:14 +0000
  • 63b08692d0 check value to large error for asn1derlength leitner 2014-04-19 15:35:30 +0000
  • cf1406735c much shorter way to do the same thing leitner 2014-04-15 20:36:50 +0000
  • 708c358a74 for asn1derlength: save a few bytes for asn1dertag: catch too-large-value overflow leitner 2014-04-15 20:12:50 +0000
  • 24d1ccb1b7 reject non-minimally encoded ASN.1 DER data split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue leitner 2014-04-15 18:52:21 +0000
  • f4414a2e80 remove io_starteventloop leitner 2014-04-10 21:01:58 +0000
  • b6af872d43 update Makefile leitner 2014-04-10 20:53:49 +0000
  • 321b30565d change return type to void leitner 2014-04-10 20:50:53 +0000
  • 90acf965e7 add iarray_length leitner 2014-04-08 10:01:27 +0000
  • a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray switch epoll from level triggering to edge triggering leitner 2014-04-04 18:11:03 +0000
  • dd436c5bf8 map mmap_read return a const char* leitner 2014-04-02 13:59:03 +0000
  • c548cce5a1 another attempt at a thread-safe array leitner 2014-03-29 11:17:04 +0000
  • c608502cd8 add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring leitner 2014-03-15 22:24:14 +0000
  • 74d676fc62 fix typo in man page make use of __uint128_t in scan_ulongn and provide long long based implementation for 32-bit platforms leitner 2014-03-15 16:04:55 +0000
  • 9b6671efee add buffer_tosa check to marshal.c failed attempt to improve scan_ulongn, results in essentially same code but the C code looks slighly better so I'm keeping it leitner 2014-03-15 15:18:55 +0000
  • cf3dc34288 actually increase stralloc.len leitner 2014-03-15 13:27:37 +0000
  • 53e2af7389 never close fd 0, 1 or 2 in buffer_close leitner 2014-03-15 13:17:58 +0000
  • 85d14a2703 ignore entities.h leitner 2014-03-15 12:39:19 +0000
  • 9af06ac843 remove can't happen code and instead force a compile time error leitner 2014-03-15 12:38:10 +0000
  • baec005507 improved code path for typical platforms where there is a wider integer type leitner 2014-03-14 21:32:29 +0000
  • 08ba483bfb catch other potential overflow leitner 2014-03-14 20:35:47 +0000
  • 4a04c40595 get rid of more -Wconversion warnings leitner 2014-03-14 19:42:54 +0000
  • f7fee036c1 SECURITY: check for integer overflow in stralloc_ready leitner 2014-03-14 18:56:07 +0000
  • 539ef564ab add unit tests for uint* leitner 2014-03-14 18:01:32 +0000
  • a9ca21ffc9 remove compiler warnings leitner 2014-03-14 18:01:02 +0000
  • 324c8e0e8b add rules regarding ent leitner 2014-03-14 12:03:51 +0000
  • d14d2536f0 get rid of -Wconversion warnings leitner 2014-03-14 02:15:38 +0000
  • e1081e4b13 remove -Wconversion warnings leitner 2014-03-14 01:53:08 +0000
  • 18afec7d68 scan_*longlong now properly abort if the number would not fit leitner 2014-03-14 01:33:03 +0000
  • 9a1addce2f remove compiler warnings leitner 2014-03-14 00:24:25 +0000
  • 01ffc04006 do proper early abort in the other scan_* routines if the numeric value is too large leitner 2014-03-14 00:24:02 +0000
  • 35942878c2 $ make WERROR=-Werror now builds with -Werror add some single char escaping routines to fmt.h pull in html5 entities from w3c and use those to do a proper scan_html decoding fix an off-by-one in fmt_to_array add a ton of unit tests for the fmt routines leitner 2014-03-13 22:25:20 +0000
  • dd4f86fbfa add some unit tests for the formatting routines leitner 2014-02-25 18:59:20 +0000
  • 73db80daec get rid of some compiler warnings leitner 2014-02-25 18:39:59 +0000
  • 35382a430e if called with srclen > maxlen, return maxlen not srclen leitner 2014-02-25 18:36:36 +0000
  • 21d0ea4549 if srclen>maxlen, truncate at maxlen leitner 2014-02-25 18:28:06 +0000
  • a85bfc1b81 fmt_strn aborted one byte too late leitner 2014-02-25 18:27:30 +0000
  • fb5bd841a8 | not + leitner 2014-02-25 17:51:29 +0000
  • 1d2add208f add json encoding routines to textcode leitner 2014-01-28 16:12:39 +0000
  • 66cb1c1c82 fix dependencies leitner 2013-10-12 13:50:08 +0000
  • ff3a3410ec hopefully this fixes the looping gatling processes leitner 2013-10-01 23:15:51 +0000
  • 45702476e7 add scan_netstring leitner 2013-09-09 22:09:07 +0000
  • 69eb8c01e3 add scan_ulongn, scan_8longn, scan_xlongn and scan_longn leitner 2013-09-09 20:57:58 +0000
  • ee4a2c0cdb add man pages for buffer_from* leitner 2013-09-09 19:19:52 +0000
  • 24d8e81116 add buffer_fromarray, buffer_frombuf leitner 2013-09-09 19:03:52 +0000
  • 875c0dc491 add haveuint128.h byte.h now defines UNALIGNED_ACCESS_OK on x86 leitner 2013-09-09 18:52:29 +0000
  • 9343743743 fix compile error leitner 2013-09-09 18:51:24 +0000
  • 76e9ed7b3b add tryuing128.c and ignore haveuint128.h leitner 2013-08-22 23:45:52 +0000
  • 1333904fea make first argument to mmap_unmap const leitner 2013-08-22 23:42:46 +0000
  • a451325318 add better comments add fmt_copybytes leitner 2013-08-22 23:41:37 +0000
  • 50b45b0f8d define UNALIGNED_ACCESS_OK on x86 leitner 2013-08-22 23:38:08 +0000
  • bba5426d38 add haveuint128.h leitner 2013-08-22 23:37:09 +0000
  • f2ee8239d1 add more examples leitner 2013-08-22 23:35:34 +0000
  • 37013d414b add compiletimeassert.h leitner 2013-02-22 11:00:32 +0000
  • dfb4915f0a add cast so the file compiles in c++ mode too leitner 2012-09-27 01:46:12 +0000
  • 5ef52a7e44 catch more bad encoding leitner 2012-09-12 20:20:42 +0000
  • cdb07d6d95 minor update leitner 2012-08-18 01:31:21 +0000
  • f7606283c8 add byte_equal_notimingattack leitner 2012-05-16 18:02:30 +0000
  • 852608b829 add awesome hack in isset.h (comex, Linus Torvalds) leitner 2012-04-17 21:26:31 +0000
  • e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable) save a few syscalls here and there leitner 2012-04-10 21:15:51 +0000
  • 6e6fc8b85d fix endless loop bug on freebsd leitner 2012-03-19 02:38:52 +0000
  • 6185645a35 add trivial compare-and-swap test leitner 2012-02-24 02:26:29 +0000
  • 662bd78aa4 fix return value leitner 2012-02-24 02:26:11 +0000
  • 2a86a4e789 win32 cross compile fix for iarray leitner 2012-02-24 02:01:27 +0000
  • c2a2a15c12 document the return value expected from the callback given to iob_write remove unused #include in iob_reset if iob_addfile_close fails, it now closes the fd if iob_addbuf_munmap fails, it now munmaps the buf if iob_addbuf_free fails, it now frees the buf some win32 cross-compile fixes for iarray leitner 2012-02-24 02:00:52 +0000
  • 4f1e1d300c make headers work in C++ add two more variable length integer encoding functions leitner 2012-02-07 17:02:40 +0000
  • d17c2d1012 add functions to encode and decode integers in variable length binary formats leitner 2012-02-06 07:59:56 +0000
  • ad6c2d9ce7 add functions to encode and decode variable length integers in binary leitner 2012-02-06 07:55:48 +0000