1f19a881d6add iarray_length
Felix von Leitner
2014-04-08 10:01:27 +0000
68f5b64189switch io_fds from array to newly implemented (hopefully thread-safe) iarray switch epoll from level triggering to edge triggering
Felix von Leitner
2014-04-04 18:11:03 +0000
cfa3f1ff5amap mmap_read return a const char*
Felix von Leitner
2014-04-02 13:59:03 +0000
bd638a862danother attempt at a thread-safe array
Felix von Leitner
2014-03-29 11:17:04 +0000
ba77fcc8baadd scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring
Felix von Leitner
2014-03-15 22:24:14 +0000
4ab5705eecfix typo in man page make use of __uint128_t in scan_ulongn and provide long long based implementation for 32-bit platforms
Felix von Leitner
2014-03-15 16:04:55 +0000
69e6c3c6c6add 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
Felix von Leitner
2014-03-15 15:18:55 +0000
21843fedd0actually increase stralloc.len
Felix von Leitner
2014-03-15 13:27:37 +0000
e058337c40never close fd 0, 1 or 2 in buffer_close
Felix von Leitner
2014-03-15 13:17:58 +0000
0fdbaaa085ignore entities.h
Felix von Leitner
2014-03-15 12:39:19 +0000
20d899eb7eremove can't happen code and instead force a compile time error
Felix von Leitner
2014-03-15 12:38:10 +0000
f68ede8333improved code path for typical platforms where there is a wider integer type
Felix von Leitner
2014-03-14 21:32:29 +0000
1d50536829catch other potential overflow
Felix von Leitner
2014-03-14 20:35:47 +0000
d74fc233fcget rid of more -Wconversion warnings
Felix von Leitner
2014-03-14 19:42:54 +0000
765d88a76dSECURITY: check for integer overflow in stralloc_ready
Felix von Leitner
2014-03-14 18:56:07 +0000
461aa90923add unit tests for uint*
Felix von Leitner
2014-03-14 18:01:32 +0000
603801caf1remove compiler warnings
Felix von Leitner
2014-03-14 18:01:02 +0000
26b5f1f5bdadd rules regarding ent
Felix von Leitner
2014-03-14 12:03:51 +0000
6e36286b34get rid of -Wconversion warnings
Felix von Leitner
2014-03-14 02:15:38 +0000
ddec9f403aremove -Wconversion warnings
Felix von Leitner
2014-03-14 01:53:08 +0000
823f052cbdscan_*longlong now properly abort if the number would not fit
Felix von Leitner
2014-03-14 01:33:03 +0000
21ca7d8264remove compiler warnings
Felix von Leitner
2014-03-14 00:25:33 +0000
de26fa9ec3remove compiler warnings
Felix von Leitner
2014-03-14 00:25:09 +0000
b571a40e68remove compiler warnings
Felix von Leitner
2014-03-14 00:24:25 +0000
826abd7560do proper early abort in the other scan_* routines if the numeric value is too large
Felix von Leitner
2014-03-14 00:24:02 +0000
6a1c199a99$ 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
Felix von Leitner
2014-03-13 22:25:20 +0000
f03d88a4c7add some unit tests for the formatting routines
Felix von Leitner
2014-02-25 18:59:20 +0000
4381f7c6a2get rid of some compiler warnings
Felix von Leitner
2014-02-25 18:39:59 +0000
e1d937c67bif called with srclen > maxlen, return maxlen not srclen
Felix von Leitner
2014-02-25 18:36:36 +0000
31ce8647feif srclen>maxlen, truncate at maxlen
Felix von Leitner
2014-02-25 18:28:06 +0000
29b9860a37fmt_strn aborted one byte too late
Felix von Leitner
2014-02-25 18:27:30 +0000
041e6c5a92| not +
Felix von Leitner
2014-02-25 17:51:29 +0000
0482a9ec04add json encoding routines to textcode
Felix von Leitner
2014-01-28 16:12:39 +0000
0abea6af07fix dependencies
Felix von Leitner
2013-10-12 13:50:08 +0000
212f499313hopefully this fixes the looping gatling processes
Felix von Leitner
2013-10-01 23:15:51 +0000
91b2116a38add scan_netstring
Felix von Leitner
2013-09-09 22:09:07 +0000
825f9ee219add scan_ulongn, scan_8longn, scan_xlongn and scan_longn
Felix von Leitner
2013-09-09 20:57:58 +0000
a5dc55208aadd man pages for buffer_from*
Felix von Leitner
2013-09-09 19:19:52 +0000
ba62b9d96fadd buffer_fromarray, buffer_frombuf
Felix von Leitner
2013-09-09 19:03:52 +0000
addc8cd318add haveuint128.h byte.h now defines UNALIGNED_ACCESS_OK on x86
Felix von Leitner
2013-09-09 18:52:29 +0000
b12538cc97fix compile error
Felix von Leitner
2013-09-09 18:51:24 +0000
fd46d3afc1add tryuing128.c and ignore haveuint128.h
Felix von Leitner
2013-08-22 23:45:52 +0000
395dd4c416make first argument to mmap_unmap const
Felix von Leitner
2013-08-22 23:42:46 +0000
b2eb079c02add better comments add fmt_copybytes
Felix von Leitner
2013-08-22 23:41:37 +0000
ba201f6105define UNALIGNED_ACCESS_OK on x86
Felix von Leitner
2013-08-22 23:38:08 +0000
20448ccdd8add haveuint128.h
Felix von Leitner
2013-08-22 23:37:09 +0000
28180795a9add more examples
Felix von Leitner
2013-08-22 23:35:34 +0000
830241e86dadd compiletimeassert.h
Felix von Leitner
2013-02-22 11:00:32 +0000
74a13126d5add cast so the file compiles in c++ mode too
Felix von Leitner
2012-09-27 01:46:12 +0000
babeb35b1fcatch more bad encoding
Felix von Leitner
2012-09-12 20:20:42 +0000
fe4e8dab35minor update
Felix von Leitner
2012-08-18 01:31:21 +0000
c5a5c2d6bfadd byte_equal_notimingattack
Felix von Leitner
2012-05-16 18:02:30 +0000
9b249f6fa7add awesome hack in isset.h (comex, Linus Torvalds)
Felix von Leitner
2012-04-17 21:26:31 +0000
3743706899add io_fd_canwrite (like io_fd but assume the fd is writable) save a few syscalls here and there
Felix von Leitner
2012-04-10 21:15:51 +0000
bc5fa9c946fix endless loop bug on freebsd
Felix von Leitner
2012-03-19 02:38:52 +0000
d3b996c7ceadd trivial compare-and-swap test
Felix von Leitner
2012-02-24 02:26:29 +0000
e7a4283ec6fix return value
Felix von Leitner
2012-02-24 02:26:11 +0000
33e2bbfd34win32 cross compile fix for iarray
Felix von Leitner
2012-02-24 02:01:27 +0000
f3bbb827d2document 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
Felix von Leitner
2012-02-24 02:00:52 +0000
cf46170dc7make headers work in C++ add two more variable length integer encoding functions
Felix von Leitner
2012-02-07 17:02:40 +0000
24c6e42b3cadd functions to encode and decode integers in variable length binary formats
Felix von Leitner
2012-02-06 07:59:56 +0000
7a942eb82aadd functions to encode and decode variable length integers in binary
Felix von Leitner
2012-02-06 07:55:48 +0000
3506fbf4deaccept -3 as error return from the callback, too
Felix von Leitner
2012-01-20 19:19:49 +0000
1a12d26ebcmingw compile fix
Felix von Leitner
2012-01-13 03:20:32 +0000
cab6090eb7the iob calls return int, not void
Felix von Leitner
2012-01-13 02:25:31 +0000
cf3c05d704socket_remote4 does not need havescope.h
Felix von Leitner
2011-09-16 03:11:43 +0000
77b72218f4change macros to inline functions to get rid of gcc warning
Felix von Leitner
2011-04-28 14:31:55 +0000
ea5ded0681change macros to inline functions to get rid of strict aliasing gcc warnings in code using them
Felix von Leitner
2011-04-28 14:28:53 +0000
4f4e6cd650new makefile
Felix von Leitner
2011-02-24 18:10:36 +0000
13bc4b6987add __likely branch prediction hints make inlining work in the face of gcc in non-gnu c99 mode
Felix von Leitner
2010-11-05 03:07:47 +0000
100ac91c79fix io_receivefd so the incoming buffer is only 1 byte; io_passfd sends only one byte, so we might receive (and discard) other data if we try to read more (Stefan Bühler, from the lightttpd project)
Felix von Leitner
2010-10-06 17:34:52 +0000
0305cf80fbonly try to receive one byte to avoid discarding data
Felix von Leitner
2010-10-06 17:33:25 +0000
d702d06774for installed header files, add comment saying where they came from
Felix von Leitner
2010-06-03 22:46:59 +0000
efbb246c4d#include <errno.h>
Felix von Leitner
2010-01-28 21:40:03 +0000
a96b23073cget rid of warning
Felix von Leitner
2010-01-19 02:44:06 +0000
a16a09c0ebupdate Makefile for bsd
Felix von Leitner
2010-01-19 02:41:34 +0000
3e6d1953besplit make install
Felix von Leitner
2010-01-19 02:40:40 +0000
dfced9889cadd/fix man pages zero a buffer in io_passfd so valgrind does not complain when we pass it to a syscall (which did not use the uninitialized parts anyway)
Felix von Leitner
2010-01-18 19:51:00 +0000
71b6e8fa00support SCTP in addition to TCP
Felix von Leitner
2010-01-18 19:49:03 +0000
9d7094e084make it compile again
Felix von Leitner
2009-11-12 10:52:43 +0000
6305370c69remove warning
Felix von Leitner
2009-10-27 23:20:21 +0000
bb6b70074bclang support
Felix von Leitner
2009-10-27 16:33:00 +0000
387be9fe4fremove iarray cruft until I ship it
Felix von Leitner
2009-09-12 23:03:02 +0000
205eb7b051windows fix
Felix von Leitner
2009-06-02 15:07:05 +0000
a54c2bfa9fadd CAS.h
Felix von Leitner
2009-05-28 00:46:54 +0000
ee8fd72f43hups
Felix von Leitner
2009-05-24 18:12:14 +0000
4311b12786oops
Felix von Leitner
2009-04-30 18:11:08 +0000
a22dbda5f7the #define extern hack in io_fd.c also included time.h, fix that catch case in timeout loop where we have something to report on an fd; in that case do not report a timeout but let the other event get through first.
Felix von Leitner
2009-04-25 19:09:27 +0000
72394e8193add #warning
Felix von Leitner
2009-04-09 18:03:38 +0000
963a3377c2test fr erdgeist
Felix von Leitner
2009-04-08 21:27:37 +0000
52176c3e50iopause.o dependency
Felix von Leitner
2009-03-25 14:34:30 +0000
725dc465edremove buffer_copy prototype
Felix von Leitner
2009-03-18 11:58:00 +0000
57a3737450Makefile dependency update
Felix von Leitner
2009-03-13 21:48:57 +0000
233649d680add iarray
Felix von Leitner
2009-03-12 21:32:43 +0000
d8094b6c7aMakefileupdate
Felix von Leitner
2009-03-12 00:30:57 +0000
1114f8eb8estralloc* not const char*
Felix von Leitner
2009-02-28 01:23:31 +0000
d94fec77d0add man page
Felix von Leitner
2009-02-28 00:12:49 +0000
97161ed0dfadd buffer_tosa (buffer writing to auto-growing stralloc)
Felix von Leitner
2009-02-28 00:07:55 +0000
4243bd22ecsave 8 bytes in taia.h for 64-bit systems
Felix von Leitner
2009-02-15 01:02:15 +0000
ff813679e3typo
Felix von Leitner
2009-01-13 19:26:09 +0000