942 Commits (9e831fe414ad38cd80b0cf1fdf5d2d4a3eda17e1)
 

Author SHA1 Message Date
Felix von Leitner c5a5c2d6bf add byte_equal_notimingattack 11 years ago
Felix von Leitner 9b249f6fa7 add awesome hack in isset.h (comex, Linus Torvalds) 11 years ago
Felix von Leitner 3743706899 add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
11 years ago
Felix von Leitner bc5fa9c946 fix endless loop bug on freebsd 11 years ago
Felix von Leitner d3b996c7ce add trivial compare-and-swap test 11 years ago
Felix von Leitner e7a4283ec6 fix return value 11 years ago
Felix von Leitner 33e2bbfd34 win32 cross compile fix for iarray 11 years ago
Felix von Leitner f3bbb827d2 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
11 years ago
Felix von Leitner cf46170dc7 make headers work in C++
add two more variable length integer encoding functions
11 years ago
Felix von Leitner 24c6e42b3c add functions to encode and decode integers in variable length binary
formats
11 years ago
Felix von Leitner 7a942eb82a add functions to encode and decode variable length integers in binary 11 years ago
Felix von Leitner 3506fbf4de accept -3 as error return from the callback, too 12 years ago
Felix von Leitner 1a12d26ebc mingw compile fix 12 years ago
Felix von Leitner cab6090eb7 the iob calls return int, not void 12 years ago
Felix von Leitner cf3c05d704 socket_remote4 does not need havescope.h 12 years ago
Felix von Leitner 77b72218f4 change macros to inline functions to get rid of gcc warning 12 years ago
Felix von Leitner ea5ded0681 change macros to inline functions to get rid of strict aliasing gcc
warnings in code using them
12 years ago
Felix von Leitner 4f4e6cd650 new makefile 12 years ago
Felix von Leitner 13bc4b6987 add __likely branch prediction hints
make inlining work in the face of gcc in non-gnu c99 mode
13 years ago
Felix von Leitner 100ac91c79 fix 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)
13 years ago
Felix von Leitner 0305cf80fb only try to receive one byte to avoid discarding data 13 years ago
Felix von Leitner d702d06774 for installed header files, add comment saying where they came from 13 years ago
Felix von Leitner efbb246c4d #include <errno.h> 14 years ago
Felix von Leitner a96b23073c get rid of warning 14 years ago
Felix von Leitner a16a09c0eb update Makefile for bsd 14 years ago
Felix von Leitner 3e6d1953be split make install 14 years ago
Felix von Leitner dfced9889c add/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)
14 years ago
Felix von Leitner 71b6e8fa00 support SCTP in addition to TCP 14 years ago
Felix von Leitner 9d7094e084 make it compile again 14 years ago
Felix von Leitner 6305370c69 remove warning 14 years ago
Felix von Leitner bb6b70074b clang support 14 years ago
Felix von Leitner 387be9fe4f remove iarray cruft until I ship it 14 years ago
Felix von Leitner 205eb7b051 windows fix 14 years ago
Felix von Leitner a54c2bfa9f add CAS.h 14 years ago
Felix von Leitner ee8fd72f43 hups 14 years ago
Felix von Leitner 4311b12786 oops 14 years ago
Felix von Leitner a22dbda5f7 the #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.
14 years ago
Felix von Leitner 72394e8193 add #warning 14 years ago
Felix von Leitner 963a3377c2 test fr erdgeist 14 years ago
Felix von Leitner 52176c3e50 iopause.o dependency 14 years ago
Felix von Leitner 725dc465ed remove buffer_copy prototype 14 years ago
Felix von Leitner 57a3737450 Makefile dependency update 14 years ago
Felix von Leitner 233649d680 add iarray 14 years ago
Felix von Leitner d8094b6c7a Makefileupdate 14 years ago
Felix von Leitner 1114f8eb8e stralloc* not const char* 14 years ago
Felix von Leitner d94fec77d0 add man page 14 years ago
Felix von Leitner 97161ed0df add buffer_tosa (buffer writing to auto-growing stralloc) 14 years ago
Felix von Leitner 4243bd22ec save 8 bytes in taia.h for 64-bit systems 15 years ago
Felix von Leitner ff813679e3 typo 15 years ago
Felix von Leitner 4fb7bf6209 make gcc -ansi compatible 15 years ago