leitner
|
de36bc05f7
|
add __likely branch prediction hints
make inlining work in the face of gcc in non-gnu c99 mode
|
14 years ago |
leitner
|
faa5bad9fc
|
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)
|
14 years ago |
leitner
|
d2aae4864c
|
only try to receive one byte to avoid discarding data
|
14 years ago |
leitner
|
928bfe5c09
|
for installed header files, add comment saying where they came from
|
15 years ago |
leitner
|
2cb6a12c92
|
#include <errno.h>
|
15 years ago |
leitner
|
3bed09a972
|
get rid of warning
|
15 years ago |
leitner
|
3e16d08aa7
|
update Makefile for bsd
|
15 years ago |
leitner
|
8e8788b8d5
|
split make install
|
15 years ago |
leitner
|
acd4fdb68b
|
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)
|
15 years ago |
leitner
|
b4469f1ed8
|
support SCTP in addition to TCP
|
15 years ago |
leitner
|
89b88f036d
|
make it compile again
|
15 years ago |
leitner
|
25f6b4640a
|
remove warning
|
15 years ago |
leitner
|
6941446a7c
|
clang support
|
15 years ago |
leitner
|
5fd7bc834b
|
remove iarray cruft until I ship it
|
16 years ago |
leitner
|
84db4c0e24
|
windows fix
|
16 years ago |
leitner
|
fda93bdca7
|
add CAS.h
|
16 years ago |
leitner
|
1fcfcd268a
|
hups
|
16 years ago |
leitner
|
dfe8c9aa27
|
oops
|
16 years ago |
leitner
|
51202765fe
|
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.
|
16 years ago |
leitner
|
49e8257931
|
add #warning
|
16 years ago |
leitner
|
1efee85ec0
|
test für erdgeist
|
16 years ago |
leitner
|
9a71d11078
|
iopause.o dependency
|
16 years ago |
leitner
|
e2f9fa232e
|
remove buffer_copy prototype
|
16 years ago |
leitner
|
0db2088836
|
Makefile dependency update
|
16 years ago |
leitner
|
bb9cdaaafb
|
add iarray
|
16 years ago |
leitner
|
e15f850fb9
|
Makefileupdate
|
16 years ago |
leitner
|
bb1bebe517
|
stralloc* not const char*
|
16 years ago |
leitner
|
1e549e9ee2
|
add man page
|
16 years ago |
leitner
|
02818883df
|
add buffer_tosa (buffer writing to auto-growing stralloc)
|
16 years ago |
leitner
|
1d76baf2ef
|
save 8 bytes in taia.h for 64-bit systems
|
16 years ago |
leitner
|
78306e451e
|
typo
|
16 years ago |
leitner
|
3a05576274
|
make gcc -ansi compatible
|
16 years ago |
leitner
|
10ab3bf70a
|
fix for 32-bit archs
|
16 years ago |
leitner
|
3629bfd5a7
|
add non-asm version for gcc
|
16 years ago |
leitner
|
25912d79cb
|
one more test
|
16 years ago |
leitner
|
988c04ad79
|
only define asm shortcut if the optimizer is on
|
16 years ago |
leitner
|
fd47173110
|
remove four warnings
|
16 years ago |
leitner
|
c5eca073b3
|
work around broken sqlite download httpd
|
16 years ago |
leitner
|
cef03a0cfe
|
version bump
|
16 years ago |
leitner
|
6d4c89ea72
|
byte_zero is also miscompiled by gcc 4.3.2
|
16 years ago |
leitner
|
4678c3c08e
|
gcc 4.3.2 miscompiles byte_diff :-(
|
16 years ago |
leitner
|
3636c04609
|
use SO_REUSEPORT
|
17 years ago |
leitner
|
6bfaee9e98
|
clarify comment
|
17 years ago |
leitner
|
67bfd53652
|
check for socket() returning -1 before trying to set the socket
non-blocking so we don't hide the "too many open files" error code
|
17 years ago |
leitner
|
97ac873038
|
gcc 4.3.1 generates bad code for byte_copy, so I'm switching to a
simpler version
|
17 years ago |
leitner
|
8583de1b55
|
fix man page for openreadclose
|
17 years ago |
leitner
|
568131a018
|
add fmt_strm_alloca
|
17 years ago |
leitner
|
6fd49579e8
|
forgot to add message in httperror
|
17 years ago |
leitner
|
cf900e97d3
|
make stralloc_copym work
|
17 years ago |
leitner
|
a8a5e9a3d5
|
some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
|
17 years ago |