999 Commits (1f113d5623980417d86f3f1c7aa4e2200eaf6bf1)
 

Author SHA1 Message Date
leitner f84ff9a817 change t.c from threading to full io_wait 4 years ago
leitner 3a3c328a99 fix deps 4 years ago
leitner 119bc7702d test iob_send 4 years ago
leitner f4cd377378 fix out of bounds memory access 4 years ago
leitner 86e596b870 limit iovec size for sendmsg code path to 50 4 years ago
leitner fc7e04660f mention sendmsg issue 4 years ago
leitner 1fb5505cc2 add missing includes 4 years ago
leitner e1f516b426 add missing man pages 4 years ago
leitner f6bdbda5d5 left old constants in 4 years ago
leitner 5e47b80d5a need to use own constants now 4 years ago
leitner bb0a9278c3 now with accept4 4 years ago
leitner 7fd8e31f7d OSX does not have accept4 :( 4 years ago
leitner ca968b8cec also escape negative chars (we are in utf-8 land now, no longer latin1) 4 years ago
leitner 0579cb6a7b it's fcntl.h not sys/fcntl.h 4 years ago
leitner fc8aed5d39 add missign build deps (thanks Giorgio) 4 years ago
leitner 49152d0c56 add missed dependency 4 years ago
leitner b5f21a3900 add support for saving syscalls with accept4 4 years ago
leitner c4b0dd6b81 move cleanup after check that all events are handled 4 years ago
leitner 15f004df55 prevent infinite loop in cleanup code for
io_close-with-outstanding-events-queued race prevention
4 years ago
leitner 5f9f1a2a62 properly initialize deferred list in io_fd (did not help though) 4 years ago
leitner ad37bd83de add snarky comment 4 years ago
leitner d4ac8fe906 might actually work now 4 years ago
leitner 75fe9a620e attempt to prevent future endless loops in io_wait half-closed fd
cleanup
4 years ago
leitner e2673d3782 add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 4 years ago
leitner 68a04bf226 document changes 4 years ago
leitner 5259ce9092 you need to #include <stdlib.h> 4 years ago
leitner 47043a16a8 add fmt_strm_malloc 4 years ago
leitner b6195a540a add man page for fmt_strm_alloca and fmt_strm_malloc 4 years ago
leitner dda1b00937 mmap_private opens the file for reading, not for writing 4 years ago
leitner 35e3a2fdb5 more cross references for open_* 4 years ago
leitner b0306a795d correct file open mode for mmap_private man page 4 years ago
leitner cf69bb3ac1 more cross references 4 years ago
leitner fa2eeedcfa update dependencies, use $(AR) and $(RANLIB) 4 years ago
leitner e7358e888e forward changes made in prototypes to actual implementation 4 years ago
leitner ebb3086b5c buffer_seek did not work at all m( 4 years ago
leitner 91c02ad365 undo fatfinger 4 years ago
leitner 6ca4390c8e also advance cur if upstream is a bytestream or an iobuf 4 years ago
leitner 93a13274e0 also increment cur in bs_skip if upstream is not a memory buffer 4 years ago
leitner b67a1af443 only use writev for larger chunks in buffer_putflush
only use lseek if it saves a read in buffer_seek
4 years ago
leitner 45f7a362e0 abort loop if EOF 4 years ago
leitner ddfdd4d077 add compiler.h to abstract gcc attributes 4 years ago
leitner 51869a80f8 also set upstream to error state 4 years ago
leitner 235dfb18cd add bs_seterrorstate 4 years ago
leitner 606a282145 also install parse.h 4 years ago
leitner b3b68521ef buffer_seek is no longer limited to the current buffer contents
add automated way to run unit test: make check
  add parse.h
  add bytestream abstraction for parsing data from a buffer or a file
4 years ago
leitner 302026f1b2 add functions for capacity checking and to skip bytes 4 years ago
leitner 03feeb7ef2 make check can now run in parallel 4 years ago
leitner f63eb1d9c5 move bs_err into own C file 4 years ago
leitner acee16d884 add unit tests for bs_capacitycheck (same as for bs_capacityassert
basically)
4 years ago
leitner 4f66a05d0b remove some warnings in unit tests
catch impossible buffer in bs_init_membuf
4 years ago