Commit Graph

72 Commits (3fc96fdc7f5f05e543f7c2e2e2f0b5dbc50d2bb5)

Author SHA1 Message Date
leitner 19202d2320 turns out the imult routines (which I never used) were incorrect.
Noted by Matthew Dempsky
  open_* from open.h now open in large file mode
leitner 6196f771cd remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
leitner 9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
leitner 34df761a0a add buffer_mmapread
leitner e520740f09 add proxy, use errmsg.h in test/dnsip
leitner 5553129f01 fix uudecode to also decode one yenc file I came across
leitner f3c6288559 fix base64 decoding
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner 0b30b66db1 remove warnings in tests
leitner ff026235d2 #include <fmt.h>
leitner dd66bcb7c3 don't output newline if output is not going to terminal
leitner 897e787b5e remove warning (changed API from int to long)
leitner ed1558cd3d darn!
leitner afb0de8d34 make b64decode more useful
leitner 70e112b892 add fd passing functions
leitner d1df8e4b7b add two useful little test programs
leitner fa476a9200 add experimental prefetching support
leitner f52aa87441 more alloca fixes
leitner 3fe23979fd skip initial slashes
leitner 056760c5f1 add cescape stuff and two tests
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send
leitner 5b599cb67d fix httperror in httpd test
leitner 2a2e1ddc75 add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
leitner 3e2f6d0439 add stupid little httpd
leitner 8fd1875041 make iob_send return aggregate total
leitner 63ba06c763 add iob test
leitner c080055248 make the accepted connections non-blocking, too
leitner 149c908c8a more error messages in io5 test
leitner 325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
leitner ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs
leitner f2d8be239f oops, forgot !
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
leitner e14b48d8b3 two test programs straight from djb's documentation
leitner 49818590ee beginnings of the io library
leitner 9e8043f4d8 change case_*b from char* to void* so it is function pointer compatible
to byte_*
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
leitner 2a90560c44 small demo for token reading
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc)
leitner 558c6128fe better and more predication, improved documentation
leitner 11ff22f33c vd now sends argv[0] instead of "vd"
leitner 4a7692f4d7 one more scan test
leitner 7f3c1ccc0c improve range check
leitner 33498d7c2d add small scan test
leitner 72ba2ad6b5 add beginnings of integer range checking
leitner 5674c5186d add long long fmt routines
leitner f7c6b5b3ee another small mldonkey helper
leitner 9e85dc61a0 add scan_httpdate
leitner 40bba8865b add fmt_human, fmt_humank and fmt_httpdate
leitner 0546ea048c add html encoders
add vd (mldonkey support program) as test for socket API
leitner b938a069db improve MIME handling (accept Base64 as base64)